From 03e4388f50c873ab59ef93cb0d59f50e3dd4552b3e757f66556bd834ca19766c Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Mon, 2 Oct 2017 22:56:48 +0000 Subject: [PATCH] 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 --- libsmraw.changes | 1 + libsmraw.spec | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/libsmraw.changes b/libsmraw.changes index 538c206..12d9b10 100644 --- a/libsmraw.changes +++ b/libsmraw.changes @@ -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 diff --git a/libsmraw.spec b/libsmraw.spec index be6004b..67b6bc5 100644 --- a/libsmraw.spec +++ b/libsmraw.spec @@ -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