Resolves: rhbz2088774

This commit is contained in:
Frank Ch. Eigler 2022-06-16 15:37:21 -04:00
parent da3f261966
commit abc540d1a9
1 changed files with 10 additions and 7 deletions

View File

@ -1,6 +1,6 @@
Name: elfutils Name: elfutils
Version: 0.187 Version: 0.187
%global baserelease 4 %global baserelease 5
Release: %{baserelease}%{?dist} Release: %{baserelease}%{?dist}
URL: http://elfutils.org/ URL: http://elfutils.org/
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/ %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 # We don't want the static libraries
rm ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib{elf,dw,asm}.a rm ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib{elf,dw,asm}.a
%if 0%{?centos} < 8 # We don't have standard DEBUGINFOD_URLS necessarily, but still ship
# We don't have standard DEBUGINFOD_URLS yet. # 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.sh
rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh # rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh
%endif
%find_lang %{name} %find_lang %{name}
@ -394,8 +393,8 @@ fi
%{_bindir}/debuginfod-find %{_bindir}/debuginfod-find
%{_mandir}/man1/debuginfod-find.1* %{_mandir}/man1/debuginfod-find.1*
%{_mandir}/man7/debuginfod*.7* %{_mandir}/man7/debuginfod*.7*
%if 0%{?centos} >= 8
%{_sysconfdir}/profile.d/debuginfod.* %{_sysconfdir}/profile.d/debuginfod.*
%if 0%{?centos} >= 8
%{_sysconfdir}/debuginfod/*.urls %{_sysconfdir}/debuginfod/*.urls
%endif %endif
@ -429,6 +428,10 @@ exit 0
%systemd_postun_with_restart debuginfod.service %systemd_postun_with_restart debuginfod.service
%changelog %changelog
* Thu Jun 16 2022 Frank Ch. Eigler <fche@redhat.com> - 0.187-5
- rhbz2088774: ship /etc/profile.d/debuginfod* files even without
default DEBUGINFOD_URLS.
* Fri May 6 2022 Mark Wielaard <mjw@redhat.com> - 0.187-4 * Fri May 6 2022 Mark Wielaard <mjw@redhat.com> - 0.187-4
- Upgrade to elfutils 0.187 - Upgrade to elfutils 0.187
- debuginfod: Support -C option for connection thread pooling. - debuginfod: Support -C option for connection thread pooling.