From bfd0897488cae3db711cc98d2088f0bdb4970de6b33378ebbd6b01c384aaaafd Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Wed, 11 Oct 2017 22:45:17 +0000 Subject: [PATCH 1/2] Accepting request 533504 from home:gregfreemyer:Tools-for-forensic-boot-cd - rename python-libfvde to python2-libfvde as expected by singlespec - remove Provides pyfvde as it is not versioned OBS-URL: https://build.opensuse.org/request/show/533504 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvde?expand=0&rev=3 --- libfvde.changes | 6 ++++++ libfvde.spec | 20 +++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/libfvde.changes b/libfvde.changes index ebb85ed..f2f68e0 100644 --- a/libfvde.changes +++ b/libfvde.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 4 22:50:04 UTC 2017 - Greg.Freemyer@gmail.com + +- rename python-libfvde to python2-libfvde as expected by singlespec +- remove Provides pyfvde as it is not versioned + ------------------------------------------------------------------- Thu Sep 1 02:25:08 UTC 2016 - Greg.Freemyer@gmail.com diff --git a/libfvde.spec b/libfvde.spec index ee4e500..9974111 100644 --- a/libfvde.spec +++ b/libfvde.spec @@ -1,7 +1,7 @@ # # spec file for package libfvde # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,10 +28,11 @@ Url: https://github.com/libyal/libfvde/ Source: https://github.com/libyal/libfvde/releases/download/%{timestamp}/libfvde-experimental-%{timestamp}.tar.gz BuildRequires: pkg-config BuildRequires: pkgconfig(fuse) -BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libbfio) >= 20130721 +BuildRequires: pkgconfig(libcaes) BuildRequires: pkgconfig(libcdata) >= 20140105 BuildRequires: pkgconfig(libcfile) >= 20130609 BuildRequires: pkgconfig(libclocale) >= 20130609 @@ -42,11 +43,10 @@ BuildRequires: pkgconfig(libcsystem) >= 20120425 BuildRequires: pkgconfig(libcthreads) >= 20150101 BuildRequires: pkgconfig(libfcache) >= 20120405 BuildRequires: pkgconfig(libfdata) >= 20120405 +BuildRequires: pkgconfig(libfguid) BuildRequires: pkgconfig(libfvalue) >= 20150101 +BuildRequires: pkgconfig(libhmac) BuildRequires: pkgconfig(libuna) >= 20150101 -BuildRequires: pkgconfig(libcaes) -BuildRequires: pkgconfig(libfguid) -BuildRequires: pkgconfig(libhmac) #BuildRequires: pkgconfig(libtool) #BuildRequires: pkgconfig(libcerror) >= 20140105 #BuildRequires: pkgconfig(libcstring) >= 20120425 @@ -89,16 +89,15 @@ See libfvde for additional details. This package contains libraries and header files for developing applications that want to make use of libfvde. -%package -n python-%{name} +%package -n python2-%{name} Summary: Python 2 bindings for libfvde License: LGPL-3.0+ Group: Development/Libraries/Python Requires: %{lname} = %{version} -Requires: python +Requires: python2 BuildRequires: pkgconfig(python2) -Provides: pyfvde -%description -n python-%{name} +%description -n python2-%{name} This packinge provides Python 2 bindings for libfvde %package -n python3-%{name} @@ -108,7 +107,6 @@ Group: Development/Libraries/Python Requires: %{lname} = %{version} Requires: python3 BuildRequires: pkgconfig(python3) -Provides: pyfvde %description -n python3-%{name} This packinge provides Python 3 bindings for libfvde @@ -151,7 +149,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/libfvde.pc %{_mandir}/man3/libfvde.3* -%files -n python-%{name} +%files -n python2-%{name} %defattr(-,root,root) %doc AUTHORS COPYING %{python_sitearch}/pyfvde.so From 81c1b70ecae63af61edb737def36d60e5e5f7787a7e7d8966266f777646594ef Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Thu, 12 Oct 2017 19:28:16 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvde?expand=0&rev=4 --- libfvde.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfvde.spec b/libfvde.spec index 9974111..80ab314 100644 --- a/libfvde.spec +++ b/libfvde.spec @@ -94,8 +94,8 @@ Summary: Python 2 bindings for libfvde License: LGPL-3.0+ Group: Development/Libraries/Python Requires: %{lname} = %{version} -Requires: python2 BuildRequires: pkgconfig(python2) +Obsoletes: python-%{name} %description -n python2-%{name} This packinge provides Python 2 bindings for libfvde