[packages/python-pynids] - cleanup, release 4 (rebuild with libnet 1.2)

qboosh qboosh at pld-linux.org
Sun May 24 10:56:05 CEST 2020


commit 36dee7642a11f64d58517d0d37014cd970a9ecc8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 24 10:56:44 2020 +0200

    - cleanup, release 4 (rebuild with libnet 1.2)

 python-pynids.spec | 35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)
---
diff --git a/python-pynids.spec b/python-pynids.spec
index 3614ea8..8d73093 100644
--- a/python-pynids.spec
+++ b/python-pynids.spec
@@ -1,21 +1,24 @@
 %define 	module	pynids
 Summary:	Python wrapper for libnids, a Network Intrusion Detection System library
+Summary(pl.UTF-8):	Pythonowe obudowanie libnids - systemu wykrywania intruzów w sieci
 Name:		python-%{module}
 Version:	0.6.1
-Release:	3
+Release:	4
+# module itself is GPL v2+, but libnids is GPL v2 only
 License:	GPL v2
 Group:		Development/Languages/Python
-Source0:	http://jon.oberheide.org/pynids/downloads/pynids-%{version}.tar.gz
+#Source0Download: https://jon.oberheide.org/pynids/
+Source0:	https://jon.oberheide.org/files/pynids-%{version}.tar.gz
 # Source0-md5:	6ce600d0130b0feec9a3797a27825d15
-URL:		http://jon.oberheide.org/pynids/
-BuildRequires:	glib2-devel
-BuildRequires:	libnet-devel
+URL:		https://jon.oberheide.org/pynids/
+BuildRequires:	glib2-devel >= 2.0
+BuildRequires:	libnet-devel >= 1:1.1
 BuildRequires:	libpcap-devel
 BuildRequires:	pkgconfig
-BuildRequires:	python-devel
+BuildRequires:	python-devel >= 2.2
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.710
-Requires:	python-modules
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python-modules >= 2.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,6 +27,13 @@ System library offering sniffing, IP defragmentation, TCP stream
 reassembly and TCP port scan detection. Let your own Python routines
 examine network conversations.
 
+%description -l pl.UTF-8
+pynids to pythonowe obudowanie libnids - biblioteki systemu wykrywania
+intruzów w sieci (Network Intrusion Detection System), oferującej
+snifowanie, defragmentację IP, rekonstrukcję strumienia TCP oraz
+wykrywanie skanowania portów TCP. Moduł pozwala na sprawdzanie
+komunikacji w sieci z poziomu Pythona.
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -32,10 +42,9 @@ examine network conversations.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %py_install
 
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
 
 %clean
@@ -43,8 +52,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README Example
-%attr(755,root,root) %{py_sitedir}/*.so
+%doc CHANGES README Example
+%attr(755,root,root) %{py_sitedir}/nidsmodule.so
 %if "%{py_ver}" > "2.4"
-%{py_sitedir}/pynids-*.egg-info
+%{py_sitedir}/pynids-%{version}-py*.egg-info
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pynids.git/commitdiff/36dee7642a11f64d58517d0d37014cd970a9ecc8



More information about the pld-cvs-commit mailing list