SHA256
1
0
forked from pool/libsmraw

Accepting request 535313 from security:forensics

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/535313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsmraw?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2017-11-03 15:23:22 +00:00 committed by Git OBS Bridge
commit cc0cd78c62
2 changed files with 16 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,14 @@ 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 Obsoletes: python-%{name}
%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 +96,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 +105,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 +135,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