Accepting request 530603 from home:gregfreemyer:Tools-for-forensic-boot-cd

- Add python3 binding subpackage

OBS-URL: https://build.opensuse.org/request/show/530603
OBS-URL: https://build.opensuse.org/package/show/security:forensics/libsmraw?expand=0&rev=8
This commit is contained in:
Greg Freemyer 2017-10-02 22:56:48 +00:00 committed by Git OBS Bridge
parent ed7b6bae08
commit 03e4388f50
2 changed files with 16 additions and 3 deletions

View File

@ -5,6 +5,7 @@ Mon Oct 2 22:35:26 UTC 2017 - Greg.Freemyer@gmail.com
* applied 2017 update
* worked on tests
- change Group: field for python binding to devel/languages/python
- Add python3 binding subpackage
-------------------------------------------------------------------
Thu Feb 16 20:27:09 UTC 2017 - Greg.Freemyer@gmail.com

View File

@ -27,7 +27,6 @@ Group: Productivity/File utilities
Url: https://github.com/libyal/libsmraw/wiki
Source: https://github.com/libyal/libsmraw/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: pkgconfig(fuse) >= 2.6
BuildRequires: pkgconfig(libbfio) >= 20120426
BuildRequires: pkgconfig(libcdata) >= 20120425
@ -46,6 +45,8 @@ BuildRequires: pkgconfig(libfvalue) >= 20120428
BuildRequires: pkgconfig(libhmac) >= 20120425
BuildRequires: pkgconfig(libuna) >= 20120425
BuildRequires: pkgconfig(openssl) >= 1.0
BuildRequires: pkgconfig(python2)
BuildRequires: pkgconfig(python3)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -80,14 +81,25 @@ This subpackage contains the utility programs from libsmraw to
acquire, export, query and verify storage media (split) RAW files.
%package -n python-%name
Summary: Python bindings for libsmraw
Summary: Python 2 bindings for libsmraw
Group: Development/Languages/Python
Requires: %lname = %version
Requires: python
Provides: pysmraw
%description -n python-%name
Python bindings for libsmraw, which provides functionality to work
Python 2 bindings for libsmraw, which provides functionality to work
with (split) RAW files.
%package -n python3-%name
Summary: Python 3 bindings for libsmraw
Group: Development/Languages/Python
Requires: %lname = %version
Requires: python3
Provides: pysmraw
%description -n python3-%name
Python 3 bindings for libsmraw, which provides functionality to work
with (split) RAW files.
%prep