From deacb445552e4b4d5be182a8ee759cc888cadc73 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 9 Oct 2024 14:42:59 +0300 Subject: [PATCH] - Disable url for debuginfod --- SPECS/elfutils.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/SPECS/elfutils.spec b/SPECS/elfutils.spec index 4de2186..78f4401 100644 --- a/SPECS/elfutils.spec +++ b/SPECS/elfutils.spec @@ -5,7 +5,7 @@ Name: elfutils Version: 0.191 %global baserelease 4 -Release: %{baserelease}%{?dist} +Release: %{baserelease}%{?dist}.alma.1 URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ License: GPL-3.0-or-later AND (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GFDL-1.3-no-invariants-or-later @@ -299,7 +299,11 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat" trap 'cat config.log' EXIT %if 0%{?centos} >= 8 +%if 0%{?almalinux} +%configure CFLAGS="$RPM_OPT_FLAGS" +%else %configure CFLAGS="$RPM_OPT_FLAGS" --enable-debuginfod-urls=https://debuginfod.centos.org/ +%endif %else %configure CFLAGS="$RPM_OPT_FLAGS" %endif @@ -447,9 +451,11 @@ fi %{_mandir}/man1/debuginfod-find.1* %{_mandir}/man7/debuginfod*.7* %{_sysconfdir}/profile.d/debuginfod.* -%if 0%{?centos} >= 8 +%if !%{?almalinux} +%if %{?centos} >= 8 %{_sysconfdir}/debuginfod/*.urls %endif +%endif %files debuginfod-client-devel %{_libdir}/pkgconfig/libdebuginfod.pc @@ -488,6 +494,9 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Wed Oct 09 2024 Eduard Abdullin - 0.191-3.alma.1 +- Disable url for debuginfod + * Fri Apr 19 2024 Aaron Merey - 0.191-3 - eu-srcfiles directly links to libdebuginfod.so so explicitly Require elfutils-debuginfod-client not just Recommends.