Hello community, here is the log from the commit of package libbde for openSUSE:Factory checked in at 2017-11-03 16:23:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbde (Old) and /work/SRC/openSUSE:Factory/.libbde.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbde" Fri Nov 3 16:23:09 2017 rev:7 rq:535308 version:0~20170204 Changes: -------- --- /work/SRC/openSUSE:Factory/libbde/libbde.changes 2017-03-04 16:47:45.098268389 +0100 +++ /work/SRC/openSUSE:Factory/.libbde.new/libbde.changes 2017-11-03 16:23:11.655826862 +0100 @@ -1,0 +2,7 @@ +Wed Oct 4 22:41:45 UTC 2017 - [email protected] + +- rename python-libbde to python2-libbde as expected by singlespec +- remove Provides pybde as it is not versioned +- add python3 binding sub-package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbde.spec ++++++ --- /var/tmp/diff_new_pack.hHLL5C/_old 2017-11-03 16:23:12.239805607 +0100 +++ /var/tmp/diff_new_pack.hHLL5C/_new 2017-11-03 16:23:12.243805461 +0100 @@ -28,8 +28,7 @@ Source: https://github.com/libyal/libbde/releases/download/%timestamp/%{name}-alpha-%{timestamp}.tar.gz Source2: BitLocker_Drive_Encryption_BDE_format.pdf BuildRequires: glibc-devel -BuildRequires: pkg-config -BuildRequires: python-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(fuse) >= 2.6 BuildRequires: pkgconfig(libbfio) >= 20130721 BuildRequires: pkgconfig(libcaes) >= 20130331 @@ -47,6 +46,8 @@ BuildRequires: pkgconfig(libfvalue) >= 20120428 BuildRequires: pkgconfig(libhmac) >= 20130714 BuildRequires: pkgconfig(libuna) >= 20120425 +BuildRequires: pkgconfig(python2) +BuildRequires: pkgconfig(python3) # fails to build with factory package, use internal - verified 2/16/2017 #BuildRequires: pkgconfig(libcpath) >= 20130609 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -105,16 +106,26 @@ This subpackage contains libraries and header files for developing applications that want to make use of libbde. -%package -n python-%{name} -Summary: Python bindings for libbde, a Bitlocker Drive Encryption library +%package -n python2-%{name} +Summary: Python 2 bindings for libbde, a Bitlocker Drive Encryption library License: LGPL-3.0+ -Group: Development/Libraries/Python +Group: Development/Languages/Python Requires: %{lname} = %{version} -Requires: python -Provides: pybde = %{version} +Requires: python2 +Obsoletes: python-%{name} -%description -n python-%{name} -Python bindings for libbde, which can access Bitlocker Drive Encrypted volumes +%description -n python2-%{name} +Python 2 bindings for libbde, which can access Bitlocker Drive Encrypted volumes + +%package -n python3-%{name} +Summary: Python 3 bindings for libbde, a Bitlocker Drive Encryption library +License: LGPL-3.0+ +Group: Development/Languages/Python +Requires: %{lname} = %{version} +Requires: python3 + +%description -n python3-%{name} +Python 3 bindings for libbde, which can access Bitlocker Drive Encrypted volumes %prep %setup -q -n libbde-%{timestamp} @@ -122,7 +133,7 @@ %build # I haven't tested the usefullness of these args yet -%configure --disable-static --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python +%configure --disable-static --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python2 --enable-python3 make %{?_smp_mflags} %install @@ -156,9 +167,14 @@ %{_libdir}/pkgconfig/libbde.pc %{_mandir}/man3/libbde.3* -%files -n python-%{name} +%files -n python2-%{name} %defattr(-,root,root) %doc AUTHORS COPYING README ChangeLog %{python_sitearch}/pybde.so +%files -n python3-%{name} +%defattr(-,root,root) +%doc AUTHORS COPYING README ChangeLog +%{python3_sitearch}/pybde.so + %changelog
