diff --git a/libkdumpfile-0.5.2.tar.xz b/libkdumpfile-0.5.2.tar.xz deleted file mode 100644 index 3dee205..0000000 --- a/libkdumpfile-0.5.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ae9c11b9e4b76d63fc610b391a95a08d355c8da491ecbf3c964c52631f30442 -size 276844 diff --git a/libkdumpfile-0.5.4.tar.xz b/libkdumpfile-0.5.4.tar.xz new file mode 100644 index 0000000..8e2d287 --- /dev/null +++ b/libkdumpfile-0.5.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0537ce28bbe153d44cf16cf4589affce8cc06c96b492599fff1322affd089a06 +size 529972 diff --git a/libkdumpfile.changes b/libkdumpfile.changes index 82d1f1e..09ea443 100644 --- a/libkdumpfile.changes +++ b/libkdumpfile.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sun Nov 19 11:08:18 UTC 2023 - Petr Tesařík + +- Upgrade to libkdumpfile version 0.5.4 + * Full support for 64-bit RISC-V. + * Improve error messages (detailed OS error, optional file names) + * Bug fixes and minor performance tweaks. + +------------------------------------------------------------------- +Wed Nov 8 06:50:42 UTC 2023 - Petr Tesařík + +- Do not build Python bindings. + +------------------------------------------------------------------- +Mon Nov 6 14:27:10 UTC 2023 - Petr Tesařík + +- Upgrade to libkdumpfile version 0.5.3 + * Support flattened KDUMP format. + ------------------------------------------------------------------- Mon Jul 17 10:04:11 UTC 2023 - Petr Tesařík diff --git a/libkdumpfile.spec b/libkdumpfile.spec index 469c9d7..0e50bda 100644 --- a/libkdumpfile.spec +++ b/libkdumpfile.spec @@ -29,26 +29,11 @@ %endif %endif -# There was no Python single-spec before SLE15 -%if %{defined pythons} -%define new_python_macros 1 -%else -%define new_python_macros 0 -%define python_module() python-%{**} python3-%{**} -%define ifpython2 %if 0 -%define python_build python setup.py build -%define python_install python setup.py install --skip-build --root %{?buildroot} -%define python3_build python3 setup.py build -%define python3_install python3 setup.py install --skip-build --root %{?buildroot} -%endif - # # End compatibility cruft -%define oldpython python - Name: libkdumpfile -Version: 0.5.2 +Version: 0.5.4 Release: 0 %if "%name" == "libkdumpfile" Summary: Kernel dump file access library @@ -68,54 +53,16 @@ BuildRequires: libtool %if %{have_zstd} BuildRequires: libzstd-devel %endif -BuildRequires: %{python_module devel} BuildRequires: lzo-devel BuildRequires: pkgconfig BuildRequires: snappy-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -%ifpython2 -Provides: %{oldpython}-libaddrxlat = %{version}-%{release} -Obsoletes: %{oldpython}-libaddrxlat < %{version}-%{release} -%endif - -%if %new_python_macros -%python_subpackages -%endif %description -%if "%name" == "libkdumpfile" A library that provides an abstraction layer for reading kernel dump core files. It supports different kernel dump core formats, virtual to physical translation, Xen mappings and more. -%else -This package contains all necessary python modules to use libkdumpfile via -the Python interpreter. -%endif - -%if !%new_python_macros - -%package -n python2-libkdumpfile -Summary: Python interface for libkdumpfile -Group: Development/Languages/Python -Provides: python-libkdumpfile = %{version}-%{release} -Obsoletes: python-libkdumpfile < %{version}-%{release} -Provides: python-libaddrxlat = %{version}-%{release} -Obsoletes: python-libaddrxlat < %{version}-%{release} - -%description -n python2-libkdumpfile -This package contains all necessary python modules to use libkdumpfile via -the Python interpreter. - -%package -n python3-libkdumpfile -Summary: Python interface for libkdumpfile -Group: Development/Languages/Python - -%description -n python3-libkdumpfile -This package contains all necessary python modules to use libkdumpfile via -the Python interpreter. - -%endif %package -n %{name}-devel Summary: Include files and libraries for libkdumpfile development @@ -167,28 +114,9 @@ aclocal autoreconf -fvi %configure --disable-static --without-python make %{?_smp_mflags} -cd python -%if %new_python_macros -%{python_expand # Build for each Python version -rm -f setup.cfg -make setup.cfg DESTDIR=%{?buildroot} pyexecdir=%{$python_sitearch} -%$python_build -} -%else -make setup.cfg DESTDIR=%{?buildroot} pyexecdir=%{python_sitearch} -%python_build -rm -f setup.cfg -make setup.cfg DESTDIR=%{?buildroot} pyexecdir=%{python3_sitearch} -%python3_build -%endif %install %make_install -cd python -%python_install -%if !%new_python_macros -%python3_install -%endif # Do not install example code rm -v %{?buildroot}%{_bindir}/dumpattr @@ -197,17 +125,6 @@ rm -v %{?buildroot}%{_bindir}/showxlat # Remove Libtool files rm -v %{?buildroot}%{_libdir}/libkdumpfile.la rm -v %{?buildroot}%{_libdir}/libaddrxlat.la -%if %new_python_macros -%{python_expand # Libtool files for extension modules -rm -v %{?buildroot}%{$python_sitearch}/_kdumpfile*.la -rm -v %{?buildroot}%{$python_sitearch}/_addrxlat*.la -} -%else -rm -v %{?buildroot}%{python_sitearch}/_kdumpfile*.la -rm -v %{?buildroot}%{python_sitearch}/_addrxlat*.la -rm -v %{?buildroot}%{python3_sitearch}/_kdumpfile*.la -rm -v %{?buildroot}%{python3_sitearch}/_addrxlat*.la -%endif %post -n libkdumpfile10 -p /sbin/ldconfig @@ -242,22 +159,4 @@ rm -v %{?buildroot}%{python3_sitearch}/_addrxlat*.la %{_libdir}/libaddrxlat.so %{_libdir}/pkgconfig/libaddrxlat.pc -%if %new_python_macros - -%files %{python_files} -%defattr(-,root,root) -%{python_sitearch}/* - -%else - -%files -n python2-libkdumpfile -%defattr(-,root,root) -%{python_sitearch}/* - -%files -n python3-libkdumpfile -%defattr(-,root,root) -%{python3_sitearch}/* - -%endif - %changelog