diff --git a/elfutils-0.190.tar.bz2 b/elfutils-0.190.tar.bz2 deleted file mode 100644 index 83192c7351421f36fbf355700ebcf8de856ff3f3..0000000000000000000000000000000000000000 Binary files a/elfutils-0.190.tar.bz2 and /dev/null differ diff --git a/elfutils.spec b/elfutils.spec index 264a04622ed15681e9aea0150c453c7f5c1560b5..ec850bc6f5ef2f60954d4ec5467ad7482c18f3b4 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,10 +1,9 @@ -# -*- rpm-spec from http://elfutils.org/ -*- Name: elfutils Version: 0.191 -Release: 1 +Release: 2 Summary: A collection of utilities and DSOs to handle ELF files and DWARF data -URL: http://elfutils.org/ -License: GPLv3+ and (GPLv2+ or LGPLv3+) +URL: https://elfutils.org/ +License: GPL-3.0-or-later AND (GPL-2.0-or-later OR LGPL-3.0-or-later) Source: https://sourceware.orgelfutils/ftp/%{version}/elfutils-%{version}.tar.bz2 Patch0: Fix-segfault-in-eu-ar-m.patch @@ -19,7 +18,6 @@ Requires: elfutils-libs = %{version}-%{release} Requires: glibc >= 2.7 libstdc++ Recommends: elfutils-extra -BuildRoot: %{_tmppath}/%{name}-root BuildRequires: gcc >= 4.1.2-33 m4 zlib-devel gdb-headless gcc-c++ BuildRequires: bzip2-devel xz-devel xz-libs zstd-devel @@ -62,7 +60,7 @@ readelf - to see the raw ELF file structures %package libs Summary: Libraries to handle compiled objects -License: GPLv2+ or LGPLv3+ +License: GPL-2.0-or-later OR LGPL-3.0-or-later Requires: elfutils-libelf = %{version}-%{release} Requires: default-yama-scope @@ -75,7 +73,7 @@ libraries. %package devel Summary: Development libraries to handle compiled objects. -License: GPLv2+ or LGPLv3+ +License: GPL-2.0-or-later OR LGPL-3.0-or-later Provides: elfutils-libelf-devel-static elfutils-devel-static Obsoletes: elfutils-libelf-devel-static < %{version}-%{release} elfutils-devel-static < %{version}-%{release} Requires: elfutils-libs = %{version}-%{release} @@ -92,7 +90,7 @@ different sections of an ELF file. %package libelf Summary: Library to read and write ELF files -License: GPLv2+ or LGPLv3+ +License: GPL-2.0-or-later OR LGPL-3.0-or-later %description libelf The elfutils-libelf package provides a DSO which allows reading and @@ -102,7 +100,7 @@ elfutils package use it also to generate new ELF files. %package libelf-devel Summary: Development support for libelf -License: GPLv2+ or LGPLv3+ +License: GPL-2.0-or-later OR LGPL-3.0-or-later Requires: elfutils-libelf = %{version}-%{release} Conflicts: libelf-devel @@ -114,7 +112,7 @@ different sections of an ELF file. %package default-yama-scope Summary: Default yama attach scope sysctl setting -License: GPLv2+ or LGPLv3+ +License: GPL-2.0-or-later OR LGPL-3.0-or-later Provides: default-yama-scope BuildArch: noarch @@ -127,23 +125,19 @@ interprocess services, communication and introspection (like synchronisation, signaling, debugging, tracing and profiling) of processes. -%package help -Summary: Help documents for elfutils - -%description help -This package contains help documents for elfutils +%package_help %package debuginfod-client Summary: Library and command line client for build-id HTTP ELF/DWARF server -License: GPLv3+ and (GPLv2+ or LGPLv3+) +License: GPL-3.0-or-later AND (GPL-2.0-or-later OR LGPL-3.0-or-later) %package debuginfod-client-devel Summary: Libraries and headers to build debuginfod client applications -License: GPLv2+ or LGPLv3+ +License: GPL-2.0-or-later OR LGPL-3.0-or-later %package debuginfod Summary: HTTP ELF/DWARF file server addressed by build-id -License: GPLv3+ +License: GPL-3.0-or-later BuildRequires: systemd Requires(post): systemd Requires(preun): systemd @@ -182,11 +176,8 @@ such servers to download those files on demand. %make_build %install -rm -rf ${RPM_BUILD_ROOT} -mkdir -p ${RPM_BUILD_ROOT}%{_prefix} - %make_install -chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* +chmod +x ${RPM_BUILD_ROOT}%{_libdir}/lib*.so* rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.sh rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh @@ -197,27 +188,18 @@ install -Dm0644 config/debuginfod.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysc mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod touch ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite +%find_lang %{name} + %check # run-debuginfod-find.sh is a bad test %make_build check || (cat tests/test-suite.log; true) -%clean -rm -rf ${RPM_BUILD_ROOT} - -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig -%post libelf -p /sbin/ldconfig -%postun libelf -p /sbin/ldconfig -%post debuginfod-client -p /sbin/ldconfig -%postun debuginfod-client -p /sbin/ldconfig - %post default-yama-scope if [ -x /usr/lib/systemd/systemd-sysctl ] ; then %sysctl_apply 10-default-yama-scope.conf fi %files -%defattr(-,root,root) %license COPYING COPYING-GPLV2 COPYING-LGPLV3 %doc README TODO CONTRIBUTING %{_bindir}/eu-elfcompress @@ -249,7 +231,6 @@ fi %{_bindir}/eu-nm %files devel -%defattr(-,root,root) %{_includedir}/dwarf.h %dir %{_includedir}/elfutils %{_includedir}/elfutils/elf-knowledge.h @@ -266,11 +247,10 @@ fi %{_libdir}/libelf.a %{_libdir}/pkgconfig/libdw.pc -%files libelf +%files libelf -f %{name}.lang %license COPYING-GPLV2 COPYING-LGPLV3 %{_libdir}/libelf-%{version}.so %{_libdir}/libelf.so.* -%{_datadir}/locale/*/LC_MESSAGES/elfutils.mo %files libelf-devel %{_includedir}/libelf.h @@ -283,6 +263,7 @@ fi %{_sysctldir}/10-default-yama-scope.conf %files help +%license doc/COPYING-GFDL COPYING-GPLV2 COPYING-LGPLV3 %{_mandir}/man1/eu-*.1* %{_mandir}/man1/debuginfod-find.1* %{_mandir}/man3/debuginfod_*.3* @@ -291,23 +272,19 @@ fi %{_mandir}/man8/debuginfod*.8* %files debuginfod-client -%defattr(-,root,root) %{_libdir}/libdebuginfod-%{version}.so %{_bindir}/debuginfod-find %{_libdir}/libdebuginfod.so.* %files debuginfod-client-devel -%defattr(-,root,root) %{_libdir}/pkgconfig/libdebuginfod.pc %{_includedir}/elfutils/debuginfod.h %{_libdir}/libdebuginfod.so %files debuginfod -%defattr(-,root,root) %{_bindir}/debuginfod %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/debuginfod %{_unitdir}/debuginfod.service -%{_sysconfdir}/sysconfig/debuginfod %dir %attr(0700,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod %verify(not md5 size mtime) %attr(0600,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod/debuginfod.sqlite @@ -326,6 +303,9 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Fri Sep 06 2024 Funda Wang - 0.191-2 +- cleanup spec + * Tue Jul 16 2024 dillon chen - 0.191-1 - Type:bugfix - CVE:NA