Accepting request 799056 from security:forensics

- remove python2 submodule

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 30 00:50:15 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
- remove python2 submodule
-------------------------------------------------------------------
Wed Apr 8 22:42:26 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>

View File

@ -77,18 +77,6 @@ libmsiecf is a library to parse MS Internet Explorer Cache Files.
This subpackage contains libraries and header files for developing
applications that want to make use of %name.
%package -n python2-%{name}
Summary: Python bindings for libmsiecf
License: LGPL-3.0-or-later
Group: Development/Libraries/Python
Requires: %lname = %version
BuildRequires: pkgconfig(python2)
Obsoletes: pymsiecf <= 20191221
Obsoletes: python-%{name} <= 20191221
%description -n python2-%name
Python bindings for libmsiecf, which can read MS IE cache files.
%package -n python3-%{name}
Summary: Python bindings for libmsiecf
License: LGPL-3.0-or-later
@ -104,7 +92,7 @@ Python bindings for libmsiecf, which can read MS IE cache files.
cp "%SOURCE2" .
%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
@ -134,12 +122,6 @@ find %buildroot -name '*.la' -delete
%_libdir/pkgconfig/libmsiecf.pc
%_mandir/man3/libmsiecf.3*
%files -n python2-%name
%defattr(-,root,root)
%doc AUTHORS README
%license COPYING
%python2_sitearch/pymsiecf.so
%files -n python3-%name
%defattr(-,root,root)
%doc AUTHORS README