Sync from SUSE:ALP:Source:Standard:1.0 libkdumpfile revision fcbad62fb4fb2eabc46e9de0c0db4da0
This commit is contained in:
parent
35f9696d8a
commit
5c34efbfd0
BIN
libkdumpfile-0.5.2.tar.xz
(Stored with Git LFS)
BIN
libkdumpfile-0.5.2.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
libkdumpfile-0.5.4.tar.xz
(Stored with Git LFS)
Normal file
BIN
libkdumpfile-0.5.4.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 19 11:08:18 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
||||||
|
|
||||||
|
- 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 <petr@tesarici.cz>
|
||||||
|
|
||||||
|
- Do not build Python bindings.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 6 14:27:10 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
||||||
|
|
||||||
|
- Upgrade to libkdumpfile version 0.5.3
|
||||||
|
* Support flattened KDUMP format.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 17 10:04:11 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
Mon Jul 17 10:04:11 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
||||||
|
|
||||||
|
@ -29,26 +29,11 @@
|
|||||||
%endif
|
%endif
|
||||||
%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
|
# End compatibility cruft
|
||||||
|
|
||||||
%define oldpython python
|
|
||||||
|
|
||||||
Name: libkdumpfile
|
Name: libkdumpfile
|
||||||
Version: 0.5.2
|
Version: 0.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
%if "%name" == "libkdumpfile"
|
%if "%name" == "libkdumpfile"
|
||||||
Summary: Kernel dump file access library
|
Summary: Kernel dump file access library
|
||||||
@ -68,54 +53,16 @@ BuildRequires: libtool
|
|||||||
%if %{have_zstd}
|
%if %{have_zstd}
|
||||||
BuildRequires: libzstd-devel
|
BuildRequires: libzstd-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: snappy-devel
|
BuildRequires: snappy-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%description
|
||||||
%if "%name" == "libkdumpfile"
|
|
||||||
A library that provides an abstraction layer for reading kernel dump
|
A library that provides an abstraction layer for reading kernel dump
|
||||||
core files. It supports different kernel dump core formats, virtual
|
core files. It supports different kernel dump core formats, virtual
|
||||||
to physical translation, Xen mappings and more.
|
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
|
%package -n %{name}-devel
|
||||||
Summary: Include files and libraries for libkdumpfile development
|
Summary: Include files and libraries for libkdumpfile development
|
||||||
@ -167,28 +114,9 @@ aclocal
|
|||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
%configure --disable-static --without-python
|
%configure --disable-static --without-python
|
||||||
make %{?_smp_mflags}
|
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
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
cd python
|
|
||||||
%python_install
|
|
||||||
%if !%new_python_macros
|
|
||||||
%python3_install
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Do not install example code
|
# Do not install example code
|
||||||
rm -v %{?buildroot}%{_bindir}/dumpattr
|
rm -v %{?buildroot}%{_bindir}/dumpattr
|
||||||
@ -197,17 +125,6 @@ rm -v %{?buildroot}%{_bindir}/showxlat
|
|||||||
# Remove Libtool files
|
# Remove Libtool files
|
||||||
rm -v %{?buildroot}%{_libdir}/libkdumpfile.la
|
rm -v %{?buildroot}%{_libdir}/libkdumpfile.la
|
||||||
rm -v %{?buildroot}%{_libdir}/libaddrxlat.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
|
%post -n libkdumpfile10 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -242,22 +159,4 @@ rm -v %{?buildroot}%{python3_sitearch}/_addrxlat*.la
|
|||||||
%{_libdir}/libaddrxlat.so
|
%{_libdir}/libaddrxlat.so
|
||||||
%{_libdir}/pkgconfig/libaddrxlat.pc
|
%{_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
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user