Greg Freemyer 2020-04-30 02:20:09 +00:00 committed by Git OBS Bridge
parent 7822f76269
commit 9133e7e916

View File

@ -83,17 +83,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 libluksde
License: LGPL-3.0-or-later
Group: Development/Languages/Python
Requires: %{lname} = %{version}
Requires: python2
BuildRequires: pkgconfig(python2)
%description -n python2-%{name}
Python 2 binding for libluksde, which can access the NTFS filesystem.
%package -n python3-%{name}
Summary: Python 3 bindings for libluksde
License: LGPL-3.0-or-later
@ -109,7 +98,7 @@ Python 3 binding for libluksde, which can access the NTFS filesystem.
%setup -q -n libluksde-%{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
@ -139,12 +128,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/libluksde.pc
%{_mandir}/man3/libluksde.3*
%files -n python2-%{name}
%defattr(-,root,root)
%doc AUTHORS README
%license COPYING
%{python_sitearch}/pyluksde.so
%files -n python3-%{name}
%defattr(-,root,root)
%doc AUTHORS