Greg Freemyer 2020-04-30 01:35:46 +00:00 committed by Git OBS Bridge
parent 10c9376d53
commit 0066e41087

View File

@ -87,18 +87,6 @@ Requires: %{lname} = %{version}
This subpackage contains libraries and header files for developing
applications that want to make use of %{name}.
%package -n python2-%{name}
Summary: Python 2 bindings for libfsntfs
License: LGPL-3.0-or-later
Group: Development/Languages/Python
Requires: %{lname} = %{version}
Requires: python2
BuildRequires: pkgconfig(python2)
Obsoletes: python-%{name}
%description -n python2-%{name}
Python 2 binding for libfsntfs, which can access the NTFS filesystem.
%package -n python3-%{name}
Summary: Python 3 bindings for libfsntfs
License: LGPL-3.0-or-later
@ -114,7 +102,7 @@ Python 3 binding for libfsntfs, which can access the NTFS filesystem.
%setup -q -n libfsntfs-%{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
@ -143,12 +131,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/libfsntfs.pc
%{_mandir}/man3/libfsntfs.3*
%files -n python2-%{name}
%defattr(-,root,root)
%doc AUTHORS README
%license COPYING
%{python_sitearch}/pyfsntfs.so
%files -n python3-%{name}
%defattr(-,root,root)
%doc AUTHORS