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
This commit is contained in:
Greg Freemyer 2017-10-11 22:47:16 +00:00 committed by Git OBS Bridge
parent 03e4388f50
commit 644126caec
2 changed files with 15 additions and 6 deletions

View File

@ -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 Mon Oct 2 22:35:26 UTC 2017 - Greg.Freemyer@gmail.com

View File

@ -80,14 +80,13 @@ Group: Productivity/File utilities
This subpackage contains the utility programs from libsmraw to This subpackage contains the utility programs from libsmraw to
acquire, export, query and verify storage media (split) RAW files. acquire, export, query and verify storage media (split) RAW files.
%package -n python-%name %package -n python2-%name
Summary: Python 2 bindings for libsmraw Summary: Python 2 bindings for libsmraw
Group: Development/Languages/Python Group: Development/Languages/Python
Requires: %lname = %version Requires: %lname = %version
Requires: python Requires: python
Provides: pysmraw
%description -n python-%name %description -n python2-%name
Python 2 bindings for libsmraw, which provides functionality to work Python 2 bindings for libsmraw, which provides functionality to work
with (split) RAW files. with (split) RAW files.
@ -96,7 +95,6 @@ Summary: Python 3 bindings for libsmraw
Group: Development/Languages/Python Group: Development/Languages/Python
Requires: %lname = %version Requires: %lname = %version
Requires: python3 Requires: python3
Provides: pysmraw
%description -n python3-%name %description -n python3-%name
Python 3 bindings for libsmraw, which provides functionality to work Python 3 bindings for libsmraw, which provides functionality to work
@ -106,7 +104,7 @@ with (split) RAW files.
%setup -qn libsmraw-%timestamp %setup -qn libsmraw-%timestamp
%build %build
%configure --disable-static --enable-wide-character-type --enable-python %configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -136,9 +134,14 @@ find "%buildroot" -name "*.la" -delete
%_bindir/smrawmount %_bindir/smrawmount
%_mandir/man1/smrawmount.1* %_mandir/man1/smrawmount.1*
%files -n python-%name %files -n python2-%name
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog %doc AUTHORS COPYING ChangeLog
%python_sitearch/pysmraw.so %python_sitearch/pysmraw.so
%files -n python3-%name
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog
%python3_sitearch/pysmraw.so
%changelog %changelog