0.14-5 - Add dwz-0.14-binutils-readelf-alt.patch
This commit is contained in:
parent
059d945f6e
commit
422692be8a
16
dwz-0.14-binutils-readelf-alt.patch
Normal file
16
dwz-0.14-binutils-readelf-alt.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/testsuite/dwz.tests/odr-struct-multifile.sh b/testsuite/dwz.tests/odr-struct-multifile.sh
|
||||||
|
old mode 100644
|
||||||
|
new mode 100755
|
||||||
|
index 159cbc3..5961abf
|
||||||
|
--- a/testsuite/dwz.tests/odr-struct-multifile.sh
|
||||||
|
+++ b/testsuite/dwz.tests/odr-struct-multifile.sh
|
||||||
|
@@ -44,6 +44,9 @@ for name in member_one member_two member_three member_four; do
|
||||||
|
[ $cnt -eq 1 ]
|
||||||
|
done
|
||||||
|
|
||||||
|
+# Even with -wN readelf 2.38-15.fc37 follows and prints the contents
|
||||||
|
+# of the alt file. So make sure it cannot do that by removing it.
|
||||||
|
+rm 3
|
||||||
|
|
||||||
|
for name in aaa bbb ccc; do
|
||||||
|
cnt=$(readelf -wi $readelf_flags 1 | grep -c "DW_AT_name.*:.*$name" || true)
|
11
dwz.spec
11
dwz.spec
@ -1,14 +1,15 @@
|
|||||||
Summary: DWARF optimization and duplicate removal tool
|
Summary: DWARF optimization and duplicate removal tool
|
||||||
Name: dwz
|
Name: dwz
|
||||||
Version: 0.14
|
Version: 0.14
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2+ and GPLv3+
|
License: GPLv2+ and GPLv3+
|
||||||
Source: %{name}-0.14.tar.xz
|
Source: %{name}-0.14.tar.xz
|
||||||
BuildRequires: gcc, gcc-c++, gdb, elfutils-libelf-devel, dejagnu
|
BuildRequires: gcc, gcc-c++, gdb, elfutils-libelf-devel, dejagnu
|
||||||
BuildRequires: make
|
BuildRequires: make elfutils
|
||||||
|
|
||||||
# Patches
|
# Patches
|
||||||
Patch1: dwz-0.14-binutils-Wn.patch
|
Patch1: dwz-0.14-binutils-Wn.patch
|
||||||
|
Patch2: dwz-0.14-binutils-readelf-alt.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The dwz package contains a program that attempts to optimize DWARF
|
The dwz package contains a program that attempts to optimize DWARF
|
||||||
@ -39,7 +40,11 @@ make check
|
|||||||
%{_mandir}/man1/dwz.1*
|
%{_mandir}/man1/dwz.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jun 26 2021 Mark Wielaard <mjw@fedoraproject.org> 0.14-4
|
* Wed Jun 29 2022 Mark Wielaard <mjw@fedoraproject.org> 0.14-5
|
||||||
|
- Add dwz-0.14-binutils-readelf-alt.patch
|
||||||
|
- BuildRequires elfutils (for tests)
|
||||||
|
|
||||||
|
* Sun Jun 26 2022 Mark Wielaard <mjw@fedoraproject.org> 0.14-4
|
||||||
- Add dwz-0.14-binutils-Wn.patch
|
- Add dwz-0.14-binutils-Wn.patch
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
|
||||||
|
Loading…
Reference in New Issue
Block a user