Hello community,

here is the log from the commit of package libsigscan for openSUSE:Factory 
checked in at 2017-10-05 11:58:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsigscan (Old)
 and      /work/SRC/openSUSE:Factory/.libsigscan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsigscan"

Thu Oct  5 11:58:00 2017 rev:4 rq:530608 version:0~20170124

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsigscan/libsigscan.changes    2017-02-21 
13:48:19.381472777 +0100
+++ /work/SRC/openSUSE:Factory/.libsigscan.new/libsigscan.changes       
2017-10-05 11:58:01.067078169 +0200
@@ -1,0 +2,5 @@
+Mon Oct  2 23:01:21 UTC 2017 - [email protected]
+
+- add python3 binding subpackage
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsigscan.spec ++++++
--- /var/tmp/diff_new_pack.5wNDFt/_old  2017-10-05 11:58:01.559008956 +0200
+++ /var/tmp/diff_new_pack.5wNDFt/_new  2017-10-05 11:58:01.567007831 +0200
@@ -27,7 +27,6 @@
 Url:            https://github.com/libyal/libsigscan/wiki
 Source:         
https://github.com/libyal/libsigscan/releases/download/%timestamp/libsigscan-experimental-%timestamp.tar.gz
 BuildRequires:  pkg-config
-BuildRequires:  python-devel
 BuildRequires:  pkgconfig(libbfio) >= 20120701
 BuildRequires:  pkgconfig(libcdata) >= 20120701
 BuildRequires:  pkgconfig(libcerror) >= 20120425
@@ -73,15 +72,29 @@
 This subpackage contains libraries and header files for developing
 applications that want to make use of libpff.
 
-%package -n python-%name
-Summary:        Python bindings for libsigscan
-Group:          Development/Libraries/Python
+%package -n python2-%name
+Summary:        Python 2 bindings for libsigscan
+Group:          Development/Languages/Python
 Requires:       %{lname} = %{version}
-Requires:       python
+Requires:       python2
+BuildRequires:  pkgconfig(python2)
 Provides:       pysigscan = %{version}
 
-%description -n python-%name
-Python bindings for libsigscan.  
+%description -n python2-%name
+Python 2 bindings for libsigscan.  
+
+libsigscan is a library for scanning for binary signatures.
+
+%package -n python3-%name
+Summary:        Python 3 bindings for libsigscan
+Group:          Development/Languages/Python
+Requires:       %{lname} = %{version}
+Requires:       python3
+BuildRequires:  pkgconfig(python3)
+Provides:       pysigscan = %{version}
+
+%description -n python3-%name
+Python 3 bindings for libsigscan.  
 
 libsigscan is a library for scanning for binary signatures.
 
@@ -89,7 +102,7 @@
 %setup -qn libsigscan-%timestamp
 
 %build
-%configure --disable-static --enable-wide-character-type --enable-python
+%configure --disable-static --enable-wide-character-type --enable-python2 
--enable-python3
 make %{?_smp_mflags}
 
 %install
@@ -120,8 +133,12 @@
 %_libdir/pkgconfig/libsigscan.pc
 %_mandir/man3/libsigscan.3*
 
-%files -n python-%name
+%files -n python2-%name
+%defattr(-,root,root)
+%{python_sitearch}/pysigscan.so
+
+%files -n python3-%name
 %defattr(-,root,root)
-%python_sitearch/pysigscan.so
+%{python3_sitearch}/pysigscan.so
 
 %changelog


Reply via email to