Greg Freemyer 2020-04-30 01:57:59 +00:00 committed by Git OBS Bridge
parent 31b5c9a2f5
commit 6fdf17bf0c

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