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:
parent
03e4388f50
commit
644126caec
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user