0.185-2 - Disable debuginfod client by default for f34

This commit is contained in:
Mark Wielaard 2021-05-27 10:42:58 +02:00
parent f61a67cdd5
commit 687db29356
1 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: elfutils
Version: 0.185
%global baserelease 1
%global baserelease 2
Release: %{baserelease}%{?dist}
URL: http://elfutils.org/
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/
@ -257,7 +257,7 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat"
trap 'cat config.log' EXIT
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions" --enable-debuginfod-urls=https://debuginfod.fedoraproject.org/
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
trap '' EXIT
%make_build -s
@ -268,6 +268,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
# 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
%find_lang %{name}
%if %{provide_yama_scope}
@ -375,7 +379,6 @@ fi
%{_libdir}/libdebuginfod.so.*
%{_bindir}/debuginfod-find
%{_mandir}/man1/debuginfod-find.1*
%config(noreplace) %{_sysconfdir}/profile.d/*
%files debuginfod-client-devel
%{_libdir}/pkgconfig/libdebuginfod.pc
@ -407,6 +410,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service
%changelog
* Thu May 27 2021 Mark Wielaard <mjw@fedoraproject.org> - 0.185-2
- Disable debuginfod client by default for f34.
* Wed May 26 2021 Mark Wielaard <mjw@fedoraproject.org> - 0.185-1
- Upgrade to upstream 0.185
- debuginfod-client: Simplify curl handle reuse so downloads which