Disable debuginfod-urls

Fixes: https://bugs.almalinux.org/view.php?id=550
This commit is contained in:
Takuya Wakazono 2025-08-13 00:39:15 +09:00
parent 1a55b02031
commit 2c6f76ced7

View File

@ -1,7 +1,7 @@
Name: elfutils
Version: 0.190
%global baserelease 2
Release: %{baserelease}%{?dist}
Release: %{baserelease}%{?dist}.alma.1
URL: http://elfutils.org/
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/
License: GPLv3+ and (GPLv2+ or LGPLv3+) and GFDL
@ -281,7 +281,7 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat"
trap 'cat config.log' EXIT
%if 0%{?centos} >= 8
%if 0%{?centos} >= 8 && !0%{?almalinux}
%configure CFLAGS="$RPM_OPT_FLAGS" --enable-debuginfod-urls=https://debuginfod.centos.org/
%else
%configure CFLAGS="$RPM_OPT_FLAGS"
@ -424,8 +424,10 @@ fi
%{_mandir}/man7/debuginfod*.7*
%if 0%{?centos} >= 8
%{_sysconfdir}/profile.d/debuginfod.*
%if !0%{?almalinux}
%{_sysconfdir}/debuginfod/*.urls
%endif
%endif
%files debuginfod-client-devel
%defattr(-,root,root)
@ -459,6 +461,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service
%changelog
* Wed Aug 13 2025 Takuya Wakazono <pastalian@almalinux.org> - 0.190-2.alma.1
- Disable debuginfod-urls
* Fri Dec 8 2023 Aaron Merey <amerey@redhat.com> - 0.190-2
- Add elfutils-0.190-fix-core-noncontig.patch