Accepting request 799060 from security:forensics

- remove python2 submodule

OBS-URL: https://build.opensuse.org/request/show/799060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsmraw?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2020-05-01 09:12:07 +00:00 committed by Git OBS Bridge
commit ecae8e2fc9
2 changed files with 6 additions and 18 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 30 01:58:12 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
- remove python2 submodule
-------------------------------------------------------------------
Wed Apr 17 21:10:32 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>

View File

@ -80,17 +80,6 @@ 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 python2-%name
Summary: Python 2 bindings for libsmraw
Group: Development/Languages/Python
Requires: %lname = %version
Requires: python
Obsoletes: python-%{name}
%description -n python2-%name
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
@ -105,7 +94,7 @@ with (split) RAW files.
%setup -qn libsmraw-%timestamp
%build
%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
%configure --disable-static --enable-wide-character-type --enable-python3
make %{?_smp_mflags}
%install
@ -138,12 +127,6 @@ find "%buildroot" -name "*.la" -delete
%_bindir/smrawmount
%_mandir/man1/smrawmount.1*
%files -n python2-%name
%defattr(-,root,root)
%doc AUTHORS ChangeLog
%license COPYING
%python_sitearch/pysmraw.so
%files -n python3-%name
%defattr(-,root,root)
%doc AUTHORS ChangeLog