From d2e683714214a317fb73f8af1139197419f6772b Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 10 Feb 2021 18:58:06 +0100 Subject: [PATCH] up to 0.183 (rel 0.1 pl.po patch needs update) --- elfutils-sparc.patch | 4 ++-- elfutils.spec | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/elfutils-sparc.patch b/elfutils-sparc.patch index 661c13c..10d73af 100644 --- a/elfutils-sparc.patch +++ b/elfutils-sparc.patch @@ -6,7 +6,7 @@ --- elfutils-0.123/src/elflint.c.orig 2006-08-25 16:20:46.000000000 +0000 +++ elfutils-0.123/src/elflint.c 2006-08-25 18:57:09.000000000 +0000 @@ -3214,7 +3214,11 @@ - } + gcc_except_table_scnndx = cnt; } - if (shdr->sh_entsize != 0 && shdr->sh_size % shdr->sh_entsize) @@ -15,6 +15,6 @@ + if (!strcmp (scnname, ".plt") && (ehdr->e_machine == EM_SPARC)) + scnsize -= 4; + if (shdr->sh_entsize != 0 && scnsize % shdr->sh_entsize) - ERROR (gettext ("\ + ERROR (_("\ section [%2zu] '%s': size not multiple of entry size\n"), cnt, section_name (ebl, cnt)); diff --git a/elfutils.spec b/elfutils.spec index 8166295..6fd7acf 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -6,12 +6,12 @@ Summary: A collection of utilities and DSOs to handle compiled objects Summary(pl.UTF-8): Zestaw narzędzi i bibliotek do obsługi skompilowanych obiektów Name: elfutils -Version: 0.181 -Release: 1 +Version: 0.183 +Release: 0.1 License: GPL v2+ or LGPL v3+ (libraries), GPL v3+ (programs) Group: Development/Tools Source0: https://sourceware.org/elfutils/ftp/%{version}/%{name}-%{version}.tar.bz2 -# Source0-md5: 773921f368bde876bb9ea14675c99abc +# Source0-md5: 6f58aa1b9af1a5681b1cbf63e0da2d67 Patch0: %{name}-pl.po.patch Patch1: %{name}-debian-manpages.patch Patch2: %{name}-awk.patch @@ -25,7 +25,7 @@ BuildRequires: automake >= 1:1.11 BuildRequires: bzip2-devel BuildRequires: gawk BuildRequires: gcc >= 6:4.3 -BuildRequires: gettext-tools +BuildRequires: gettext-tools >= 0.19.6 BuildRequires: glibc-devel >= 6:2.7 BuildRequires: libstdc++-devel >= 6:4.7 BuildRequires: perl-tools-pod @@ -33,6 +33,7 @@ BuildRequires: rpmbuild(macros) >= 1.527 BuildRequires: sharutils BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRequires: zstd-devel %if %{with tests} && %(test -d /proc/self ; echo $?) # native test needs proc (for libdwfl -p PID to work) BuildRequires: MOUNTED_PROC @@ -299,6 +300,8 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/debuginfod-find %{_mandir}/man1/debuginfod-find.1* %{_mandir}/man8/debuginfod.8* +%attr(755,root,root) /etc/profile.d/debuginfod.sh +%attr(755,root,root) /etc/profile.d/debuginfod.csh %files debuginfod-devel %defattr(644,root,root,755) -- 2.44.0