Backport BTF fix needed for kernel kfuncs

Related: rhbz#2140020

Signed-off-by: Viktor Malik <vmalik@redhat.com>
This commit is contained in:
Viktor Malik 2022-11-16 08:03:31 +01:00
parent 576ff9bbab
commit 0e8fa765e3
No known key found for this signature in database
GPG Key ID: AF7A2E1F6EE74FB3
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/dwarves-1.21.tar.xz /dwarves-1.21.tar.xz
/dwarves-1.22.tar.xz /dwarves-1.22.tar.xz
/dwarves-1.24.tar.xz /dwarves-1.24.tar.xz
/0001-dwarves-Zero-initialize-struct-cu-in-cu__new-to-prev.patch

View File

@ -3,12 +3,13 @@
Name: dwarves Name: dwarves
Version: 1.24 Version: 1.24
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
Summary: Debugging Information Manipulation Tools (pahole & friends) Summary: Debugging Information Manipulation Tools (pahole & friends)
URL: http://acmel.wordpress.com URL: http://acmel.wordpress.com
Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz
Requires: %{libname}%{libver} = %{version}-%{release} Requires: %{libname}%{libver} = %{version}-%{release}
Patch1: 0001-dwarves-Zero-initialize-struct-cu-in-cu__new-to-prev.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: cmake >= 2.8.12 BuildRequires: cmake >= 2.8.12
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -65,6 +66,7 @@ Debugging information processing library development files.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
%cmake -DCMAKE_BUILD_TYPE=Release . %cmake -DCMAKE_BUILD_TYPE=Release .
@ -132,6 +134,10 @@ rm -Rf %{buildroot}
%{_libdir}/%{libname}_reorganize.so %{_libdir}/%{libname}_reorganize.so
%changelog %changelog
* Wed Nov 16 2022 Viktor Malik <vmalik@redhat.com> - 1.24-2
- Backport BTF fix needed for kernel kfuncs
- Related: rhbz#2140020
* Fri Nov 04 2022 Viktor Malik <vmalik@redhat.com> - 1.24-1 * Fri Nov 04 2022 Viktor Malik <vmalik@redhat.com> - 1.24-1
- Resolves: rhbz#2140020 - Resolves: rhbz#2140020
- New release: v1.23 - New release: v1.23

View File

@ -1 +1,2 @@
SHA512 (0001-dwarves-Zero-initialize-struct-cu-in-cu__new-to-prev.patch) = 4f82cc1f1a7162449fdef8c47f0bc2c9ab5c8966340cc7c30570274e5526f3f95421b13daae6efc7f1c7608f728d74588b6c14637a0d341b191db11c363f760a
SHA512 (dwarves-1.24.tar.xz) = 3cdca183cf68ec46fd9a0301ae4a8a30b23a8139c65ffba64ae11f85f9e942f7341dca6f88a4a3b49f32bfd880927193a80fa011726e4a33d3e5a1a146326c06 SHA512 (dwarves-1.24.tar.xz) = 3cdca183cf68ec46fd9a0301ae4a8a30b23a8139c65ffba64ae11f85f9e942f7341dca6f88a4a3b49f32bfd880927193a80fa011726e4a33d3e5a1a146326c06