Hello community, here is the log from the commit of package libvshadow for openSUSE:Factory checked in at 2017-11-08 15:10:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvshadow (Old) and /work/SRC/openSUSE:Factory/.libvshadow.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvshadow" Wed Nov 8 15:10:39 2017 rev:13 rq:539419 version:0~20170902 Changes: -------- --- /work/SRC/openSUSE:Factory/libvshadow/libvshadow.changes 2017-11-03 16:23:30.207151669 +0100 +++ /work/SRC/openSUSE:Factory/.libvshadow.new/libvshadow.changes 2017-11-08 15:10:45.512679248 +0100 @@ -1,0 +2,5 @@ +Mon Nov 6 23:45:11 UTC 2017 - [email protected] + +- add python3 binding subpackage + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvshadow.spec ++++++ --- /var/tmp/diff_new_pack.80z1nI/_old 2017-11-08 15:10:46.328649460 +0100 +++ /var/tmp/diff_new_pack.80z1nI/_new 2017-11-08 15:10:46.332649314 +0100 @@ -32,7 +32,6 @@ BuildRequires: fuse-devel BuildRequires: gcc BuildRequires: pkg-config -BuildRequires: python-devel BuildRequires: pkgconfig(libbfio) >= 20130908 BuildRequires: pkgconfig(libcdata) >= 20130407 BuildRequires: pkgconfig(libcerror) > 20130904 @@ -91,15 +90,27 @@ developing applications that use %{name}. %package -n python2-%{name} -Summary: Python binding for libvshadow +Summary: Python 2 binding for libvshadow License: LGPL-3.0+ Group: Development/Languages/Python Requires: %{lname} = %{version} -Requires: python +Requires: python2 +BuildRequires: pkgconfig(python2) Obsoletes: python-%{name} %description -n python2-%{name} -Python binding for libvshadow. libvshadow can read windows event files +Python 2 binding for libvshadow. libvshadow can read windows event files + +%package -n python3-%{name} +Summary: Python 3 binding for libvshadow +License: LGPL-3.0+ +Group: Development/Languages/Python +Requires: %{lname} = %{version} +Requires: python3 +BuildRequires: pkgconfig(python3) + +%description -n python3-%{name} +Python 3 binding for libvshadow. libvshadow can read windows event files %prep %setup -q -n libvshadow-%{timestamp} @@ -111,7 +122,7 @@ %build export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="%{optflags}" -%configure --disable-static --enable-wide-character-type --enable-python2 +%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 make %{?_smp_mflags} @@ -152,4 +163,9 @@ %doc AUTHORS COPYING README %{python_sitearch}/*.so +%files -n python3-%{name} +%defattr(644,root,root,755) +%doc AUTHORS COPYING README +%{python3_sitearch}/*.so + %changelog
