diff --git a/libfsext-experimental-20210721.tar.gz b/libfsext-experimental-20210721.tar.gz deleted file mode 100644 index bdc7809..0000000 --- a/libfsext-experimental-20210721.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dac78d5ac5fa415987b1c48c793a9122183098f4bc74043894abff5b04567b2e -size 1670764 diff --git a/libfsext-experimental-20210721.tar.gz.asc b/libfsext-experimental-20210721.tar.gz.asc deleted file mode 100644 index d090de4..0000000 --- a/libfsext-experimental-20210721.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmD3o0wACgkQ2WJeXXrQ -F34YLgf9EjeHV22l4Jt/79w7bbIMxWnUnwFY5QJ8XuXa1/1anG9Md5vn17ohepje -rWhd6DkJAKFP9QymSy6FDCjQW7q1Dmbky5vc+RgK5Hsbn1wpZbGZ5OgErNq+62B/ -BOAmCxueo0zz+Dt4zILmvFAIOa674huynPMVdBTtDfvSAHqfyT4MGl3fi3C+4SUf -2f4pC4AzDk5zptUJscqIBpi0u188LPU2kx7b8cd3xG8hyKvD8ytCsS5Yw7oE9l+m -Aznl/1hc0d+Z4IBOByEHXvllHps/GsIvWL01HpT2AfgFGSgvh6bre05bWg1MXGrt -2+W9YXJE0qVBpKWoaJXofP6FyNYFEg== -=Sh+o ------END PGP SIGNATURE----- diff --git a/libfsext-experimental-20220112.tar.gz b/libfsext-experimental-20220112.tar.gz new file mode 100644 index 0000000..40826bf --- /dev/null +++ b/libfsext-experimental-20220112.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8be6f1fa3479a3d85c3fd763f3a629051749afc1451d142ac247f7f8b0ca569 +size 1723866 diff --git a/libfsext-experimental-20220112.tar.gz.asc b/libfsext-experimental-20220112.tar.gz.asc new file mode 100644 index 0000000..6163085 --- /dev/null +++ b/libfsext-experimental-20220112.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmHe/DMACgkQ2WJeXXrQ +F37/2ggAv4/7H4jGALM5MBJW1eFbyMxbHkeEmarTPhMNf3pJpmYy8OB/jkkJF84H +lKXo/UqgvQ2q8DLQPz0GvXt5hwbQSAAynn0l3uA8n4u++eqNGAnXY4uIXPA0DR8n +/7pu0M5gElWxmT5ZDADl8XGnJkS93CpXdiPWwdZqMaXtl/X4/UhW3yxePBfw3jRz +E9NKFdmFT4PQvzf7PnE6IGAqYJC/hNB7RCe3CDiBKCcbxgbqVerTR0Zkb56Jv07z +1UVblDyFG0VmbV/VIwGw1/UhfPseJ42yqtSUJo4sYi+nsjXjdRHGh/IuKXmAwqGH +J5qasrcrafu1odpmtDZFdmx5CT7aGg== +=VQbH +-----END PGP SIGNATURE----- diff --git a/libfsext.changes b/libfsext.changes index 640f034..1a9c625 100644 --- a/libfsext.changes +++ b/libfsext.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 22 21:14:36 UTC 2022 - Jan Engelhardt + +- Update to release 20220112 + * Updates to Python bindings and tools. + ------------------------------------------------------------------- Sun Nov 14 12:43:52 UTC 2021 - Jan Engelhardt diff --git a/libfsext.spec b/libfsext.spec index 65bc41b..1046b98 100644 --- a/libfsext.spec +++ b/libfsext.spec @@ -1,7 +1,7 @@ # # spec file for package libfsext # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define lname libfsext1 Name: libfsext -Version: 20210721 +Version: 20220112 Release: 0 Summary: Library and tools to access the Extended File System License: GFDL-1.3-or-later AND LGPL-3.0-or-later @@ -28,26 +28,28 @@ Source: https://github.com/libyal/libfsext/releases/download/%version/li Source2: https://github.com/libyal/libfsext/releases/download/%version/libfsext-experimental-%version.tar.gz.asc Source3: %name.keyring Patch1: system-libs.patch +BuildRequires: %{python_module devel} BuildRequires: c_compiler BuildRequires: gettext-tools >= 0.18.1 BuildRequires: libtool BuildRequires: pkg-config -BuildRequires: pkgconfig(libbfio) >= 20201229 -BuildRequires: pkgconfig(libcdata) >= 20210625 -BuildRequires: pkgconfig(libcerror) >= 20201121 +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(libbfio) >= 20220120 +BuildRequires: pkgconfig(libcdata) >= 20220115 +BuildRequires: pkgconfig(libcerror) >= 20220101 BuildRequires: pkgconfig(libcfile) >= 20201229 -BuildRequires: pkgconfig(libclocale) >= 20210410 -BuildRequires: pkgconfig(libcnotify) >= 20200913 -BuildRequires: pkgconfig(libcpath) >= 20200623 -BuildRequires: pkgconfig(libcsplit) >= 20200703 -BuildRequires: pkgconfig(libcthreads) >= 20200508 -BuildRequires: pkgconfig(libfcache) >= 20200708 -BuildRequires: pkgconfig(libfdata) >= 20201129 -BuildRequires: pkgconfig(libfdatetime) >= 20180910 -BuildRequires: pkgconfig(libfguid) >= 20180724 +BuildRequires: pkgconfig(libclocale) >= 20220107 +BuildRequires: pkgconfig(libcnotify) >= 20220108 +BuildRequires: pkgconfig(libcpath) >= 20220108 +BuildRequires: pkgconfig(libcsplit) >= 20220109 +BuildRequires: pkgconfig(libcthreads) >= 20220102 +BuildRequires: pkgconfig(libfcache) >= 20220110 +BuildRequires: pkgconfig(libfdata) >= 20211023 +BuildRequires: pkgconfig(libfdatetime) >= 20220112 +BuildRequires: pkgconfig(libfguid) >= 20220113 BuildRequires: pkgconfig(libhmac) >= 20200104 -BuildRequires: pkgconfig(libuna) >= 20201204 -BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(libuna) >= 20220102 +%python_subpackages %description libfsext is a library to access the Extended File System (ext). @@ -113,29 +115,23 @@ libfsext is a library to access the extended file system (ext) format. see libf This subpackage contains libraries and header files for developing applications that want to make use of libfsext. -%package -n python3-%{name} -Summary: Python 3 bindings for libfsext, a extended file system (ext) parser -License: LGPL-3.0-or-later -Group: Development/Languages/Python -Requires: %{lname} = %{version} -Requires: python3 -Provides: pyfsext - -%description -n python3-%{name} -libfsext is a library to access extended file system (ext) format. See libfsext for details. - -This package contains Python 3 bindings for libfsext. - %prep %autosetup -p1 %build autoreconf -fi -%configure --disable-static --enable-wide-character-type --enable-python3 +# OOT builds are presently broken, so we have to install +# within each python iteration now, not in %%install. +%{python_expand # +%configure --disable-static --enable-wide-character-type \ + --enable-python PYTHON_VERSION="%{$python_bin_suffix}" %make_build +%make_install DESTDIR="%_builddir/rt" +%make_build clean +} %install -%make_install +mv %_builddir/rt/* %buildroot/ find %{buildroot} -type f -name "*.la" -delete -print %post -n %{lname} -p /sbin/ldconfig @@ -145,12 +141,12 @@ find %{buildroot} -type f -name "*.la" -delete -print %license COPYING* %{_libdir}/libfsext.so.* -%files tools +%files -n %name-tools %license COPYING* %{_bindir}/fsext* %{_mandir}/man1/fsext*.1* -%files devel +%files -n %name-devel %license COPYING* %{_includedir}/libfsext.h %{_includedir}/libfsext/ @@ -158,8 +154,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/libfsext.pc %{_mandir}/man3/libfsext.3* -%files -n python3-%{name} +%files %python_files %license COPYING* -%{python3_sitearch}/pyfsext.so +%{python_sitearch}/pyfsext.so %changelog