Accepting request 799058 from security:forensics

- remove python2 submodule

OBS-URL: https://build.opensuse.org/request/show/799058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfsntfs?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2020-05-01 09:11:47 +00:00 committed by Git OBS Bridge
commit 712a4df3e9
2 changed files with 6 additions and 19 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 30 01:36:04 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
- remove python2 submodule
-------------------------------------------------------------------
Sun Apr 5 20:40:53 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>

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