diff --git a/libmsiecf-alpha-20181227.tar.gz b/libmsiecf-alpha-20181227.tar.gz deleted file mode 100644 index 8d4e564..0000000 --- a/libmsiecf-alpha-20181227.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dafeca3574e22a37c480d33e796ad4c56120de4850ddb85af5a4bbe84e20064a -size 1487842 diff --git a/libmsiecf-alpha-20191221.tar.gz b/libmsiecf-alpha-20191221.tar.gz new file mode 100644 index 0000000..b4e957e --- /dev/null +++ b/libmsiecf-alpha-20191221.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f58a6158ed261f5a7248b62825f9ebff5b9494271299a69a181ff0805e0fece +size 1506964 diff --git a/libmsiecf.changes b/libmsiecf.changes index 495692f..747c969 100644 --- a/libmsiecf.changes +++ b/libmsiecf.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Apr 8 22:42:26 UTC 2020 - Greg Freemyer + +- updated to 0~20191221 + * changes for libcdata +- rename python-msiecf to python2-msiecf +- add python3-msiecf submodule + ------------------------------------------------------------------- Wed Mar 27 23:46:33 UTC 2019 - Greg Freemyer diff --git a/libmsiecf.spec b/libmsiecf.spec index cce2bbb..4375f66 100644 --- a/libmsiecf.spec +++ b/libmsiecf.spec @@ -1,7 +1,7 @@ # # spec file for package libmsiecf # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,16 @@ Name: libmsiecf %define lname libmsiecf1 -%define timestamp 20181227 +%define timestamp 20191221 Version: 0~%timestamp Release: 0 Summary: Library to parse MS Internet Explorer Cache Files License: LGPL-3.0-or-later AND GFDL-1.3-or-later Group: Productivity/File utilities -Url: https://github.com/libyal/libmsiecf/wiki +URL: https://github.com/libyal/libmsiecf/wiki Source: https://github.com/libyal/libmsiecf/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz Source2: MSIE_Cache_File_index.dat_format.pdf BuildRequires: pkg-config -BuildRequires: python-devel BuildRequires: pkgconfig(libbfio) >= 20120426 BuildRequires: pkgconfig(libcdata) >= 20190112 BuildRequires: pkgconfig(libcfile) >= 20120526 @@ -78,15 +77,26 @@ 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 python-%name +%package -n python2-%{name} Summary: Python bindings for libmsiecf License: LGPL-3.0-or-later Group: Development/Libraries/Python Requires: %lname = %version -Requires: python -Provides: pymsiecf = %version +BuildRequires: pkgconfig(python2) +Obsoletes: pymsiecf <= 20191221 +Obsoletes: python2-%{name} <= 20191221 -%description -n python-%name +%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 +Group: Development/Libraries/Python +Requires: %lname = %version +BuildRequires: pkgconfig(python3) + +%description -n python3-%name Python bindings for libmsiecf, which can read MS IE cache files. %prep @@ -94,7 +104,7 @@ Python bindings for libmsiecf, which can read MS IE cache files. cp "%SOURCE2" . %build -%configure --disable-static --enable-wide-character-type --enable-python +%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 make %{?_smp_mflags} %install @@ -124,10 +134,16 @@ find %buildroot -name '*.la' -delete %_libdir/pkgconfig/libmsiecf.pc %_mandir/man3/libmsiecf.3* -%files -n python-%name +%files -n python2-%name %defattr(-,root,root) %doc AUTHORS README %license COPYING -%python_sitearch/pymsiecf.so +%python2_sitearch/pymsiecf.so + +%files -n python3-%name +%defattr(-,root,root) +%doc AUTHORS README +%license COPYING +%python3_sitearch/pymsiecf.so %changelog