- Disable url for debuginfod

This commit is contained in:
eabdullin 2024-10-09 14:42:59 +03:00
parent 54b780f29e
commit deacb44555

View File

@ -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 <eabdullin@almalinux.org> - 0.191-3.alma.1
- Disable url for debuginfod
* Fri Apr 19 2024 Aaron Merey <amerey@redhat.com> - 0.191-3
- eu-srcfiles directly links to libdebuginfod.so so explicitly
Require elfutils-debuginfod-client not just Recommends.