From fa23a6918d7db9283067651913f1c58634f9ad4a Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 20 Feb 2025 12:47:59 +0000 Subject: [PATCH] 2.3.7 --- miniupnpd.spec | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/miniupnpd.spec b/miniupnpd.spec index e3570c1..63d52d4 100644 --- a/miniupnpd.spec +++ b/miniupnpd.spec @@ -5,10 +5,10 @@ Release: 1 License: GPLv2+ Group: System/Servers URL: http://miniupnp.free.fr -#Source0: http://miniupnp.free.fr/files/download.php?file=/%{name}-%{version}.tar.gz Source0: http://miniupnp.free.fr/files/download.php?file=%{name}-%{version}.tar.gz -Source1: miniupnpd.service -Patch0: miniupnpd-1.8.20140523-makefile.patch +Source1: %{name}.service +Source1000: %{name}.rpmlintrc +Patch0: %{name}-1.8.20140523-makefile.patch BuildRequires: iptables-devel BuildRequires: iptables-ip4tc-devel BuildRequires: kernel-generic-devel @@ -44,27 +44,15 @@ See http://www.upnp.org/ for more details on UPnP. %prep %setup -q -#mv Makefile.linux Makefile -#patch0 -p1 %build -#make config.h -#sed -i \ -# -e 's/\/\*#define ENABLE_LEASEFILE\*\//#define ENABLE_LEASEFILE/g' \ -# config.h || die - -#make CC=gcc CFLAGS="%{optflags}" -#make -f Makefile.linux config.h -#make -f Makefile.linux ./configure %make %install %makeinstall_std -#mkdir -p %{buildroot}%{_mandir}/man8/ -#make install PREFIX="%{buildroot}" STRIP="true" rm -f %{buildroot}%{_sysconfdir}/init.d/miniupnpd rm -f %{buildroot}%{_sysconfdir}/miniupnpd/miniupnpd.conf~ install -Dm0755 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service