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
This commit is contained in:
Greg Freemyer 2017-10-11 22:45:17 +00:00 committed by Git OBS Bridge
parent e4ee23a145
commit bfd0897488
2 changed files with 15 additions and 11 deletions

View File

@ -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

View File

@ -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(libfvalue) >= 20150101
BuildRequires: pkgconfig(libuna) >= 20150101
BuildRequires: pkgconfig(libcaes)
BuildRequires: pkgconfig(libfguid)
BuildRequires: pkgconfig(libfvalue) >= 20150101
BuildRequires: pkgconfig(libhmac)
BuildRequires: pkgconfig(libuna) >= 20150101
#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