From abc540d1a959e668e20a3a25c9909b9a1ff179e6 Mon Sep 17 00:00:00 2001 From: Frank Ch. Eigler Date: Jun 16 2022 19:37:21 +0000 Subject: Resolves: rhbz2088774 --- diff --git a/elfutils.spec b/elfutils.spec index 1f5489b..7853b1b 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,6 +1,6 @@ Name: elfutils Version: 0.187 -%global baserelease 4 +%global baserelease 5 Release: %{baserelease}%{?dist} URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ @@ -278,11 +278,10 @@ chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* # We don't want the static libraries rm ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib{elf,dw,asm}.a -%if 0%{?centos} < 8 -# We don't have standard DEBUGINFOD_URLS yet. -rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.sh -rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh -%endif +# We don't have standard DEBUGINFOD_URLS necessarily, but still ship +# the profile.d/debuginfod* files, in case of a site specific server. +# rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.sh +# rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh %find_lang %{name} @@ -394,8 +393,8 @@ fi %{_bindir}/debuginfod-find %{_mandir}/man1/debuginfod-find.1* %{_mandir}/man7/debuginfod*.7* -%if 0%{?centos} >= 8 %{_sysconfdir}/profile.d/debuginfod.* +%if 0%{?centos} >= 8 %{_sysconfdir}/debuginfod/*.urls %endif @@ -429,6 +428,10 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Thu Jun 16 2022 Frank Ch. Eigler - 0.187-5 +- rhbz2088774: ship /etc/profile.d/debuginfod* files even without + default DEBUGINFOD_URLS. + * Fri May 6 2022 Mark Wielaard - 0.187-4 - Upgrade to elfutils 0.187 - debuginfod: Support -C option for connection thread pooling.