From 644126caecdf8f6ced66f4b5b3aacdfc0e741dd9503b17c1f66f182aed60c347 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Wed, 11 Oct 2017 22:47:16 +0000 Subject: [PATCH] Accepting request 533506 from home:gregfreemyer:Tools-for-forensic-boot-cd - rename python-libsmraw to python2-libsmraw as expected by singlespec - remove Provides pysmraw as it is not versioned OBS-URL: https://build.opensuse.org/request/show/533506 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libsmraw?expand=0&rev=10 --- libsmraw.changes | 6 ++++++ libsmraw.spec | 15 +++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/libsmraw.changes b/libsmraw.changes index 12d9b10..3d1161d 100644 --- a/libsmraw.changes +++ b/libsmraw.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 4 22:37:30 UTC 2017 - Greg.Freemyer@gmail.com + +- rename python-libsmraw to python2-libsmraw as expected by singlespec +- remove Provides pysmraw as it is not versioned + ------------------------------------------------------------------- Mon Oct 2 22:35:26 UTC 2017 - Greg.Freemyer@gmail.com diff --git a/libsmraw.spec b/libsmraw.spec index 67b6bc5..586d81a 100644 --- a/libsmraw.spec +++ b/libsmraw.spec @@ -80,14 +80,13 @@ Group: Productivity/File utilities This subpackage contains the utility programs from libsmraw to acquire, export, query and verify storage media (split) RAW files. -%package -n python-%name +%package -n python2-%name Summary: Python 2 bindings for libsmraw Group: Development/Languages/Python Requires: %lname = %version Requires: python -Provides: pysmraw -%description -n python-%name +%description -n python2-%name Python 2 bindings for libsmraw, which provides functionality to work with (split) RAW files. @@ -96,7 +95,6 @@ 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 @@ -106,7 +104,7 @@ with (split) RAW files. %setup -qn libsmraw-%timestamp %build -%configure --disable-static --enable-wide-character-type --enable-python +%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 make %{?_smp_mflags} %install @@ -136,9 +134,14 @@ find "%buildroot" -name "*.la" -delete %_bindir/smrawmount %_mandir/man1/smrawmount.1* -%files -n python-%name +%files -n python2-%name %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog %python_sitearch/pysmraw.so +%files -n python3-%name +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog +%python3_sitearch/pysmraw.so + %changelog