[packages/iptstate] - new Source URL, updated to 2.2.6

qboosh qboosh at pld-linux.org
Sun Dec 27 18:19:28 CET 2020


commit 8163faed87c34b3f0acd4a099fa26c576a668806
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 27 18:20:07 2020 +0100

    - new Source URL, updated to 2.2.6

 iptstate.spec | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/iptstate.spec b/iptstate.spec
index f3d398f..69d4686 100644
--- a/iptstate.spec
+++ b/iptstate.spec
@@ -1,13 +1,14 @@
 Summary:	IP Tables State - like top
 Summary(pl.UTF-8):	Stan Tablic IP - wyświetlający jak top
 Name:		iptstate
-Version:	2.2.3
-Release:	3
-License:	zlib/libpng license
+Version:	2.2.6
+Release:	1
+License:	Zlib
 Group:		Networking/Utilities
-Source0:	http://downloads.sourceforge.net/iptstate/%{name}-%{version}.tar.bz2
-# Source0-md5:	5238a0c4c4f764a919aba678051698ec
-URL:		http://phildev.net/iptstate/
+#Source0Download: https://github.com/jaymzh/iptstate/releases
+Source0:	https://github.com/jaymzh/iptstate/releases/download/v%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5:	ec96c93b43976960d2e2ba3306cd09e6
+URL:		https://www.phildev.net/iptstate/
 BuildRequires:	libnetfilter_conntrack-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	ncurses-devel >= 5.0
@@ -36,16 +37,16 @@ podobny do topa.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
 
-install %{name} $RPM_BUILD_ROOT%{_sbindir}
-install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
+%{__make} install \
+	SBIN=$RPM_BUILD_ROOT%{_sbindir} \
+	MAN=$RPM_BUILD_ROOT%{_mandir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc BUGS CONTRIB Changelog LICENSE README WISHLIST
+%doc BUGS CONTRIB Changelog LICENSE README.md WISHLIST
 %attr(755,root,root) %{_sbindir}/iptstate
 %{_mandir}/man8/iptstate.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iptstate.git/commitdiff/8163faed87c34b3f0acd4a099fa26c576a668806



More information about the pld-cvs-commit mailing list