- 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 Name: elfutils
Version: 0.191 Version: 0.191
%global baserelease 4 %global baserelease 4
Release: %{baserelease}%{?dist} Release: %{baserelease}%{?dist}.alma.1
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}/
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 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 trap 'cat config.log' EXIT
%if 0%{?centos} >= 8 %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/ %configure CFLAGS="$RPM_OPT_FLAGS" --enable-debuginfod-urls=https://debuginfod.centos.org/
%endif
%else %else
%configure CFLAGS="$RPM_OPT_FLAGS" %configure CFLAGS="$RPM_OPT_FLAGS"
%endif %endif
@ -447,9 +451,11 @@ fi
%{_mandir}/man1/debuginfod-find.1* %{_mandir}/man1/debuginfod-find.1*
%{_mandir}/man7/debuginfod*.7* %{_mandir}/man7/debuginfod*.7*
%{_sysconfdir}/profile.d/debuginfod.* %{_sysconfdir}/profile.d/debuginfod.*
%if 0%{?centos} >= 8 %if !%{?almalinux}
%if %{?centos} >= 8
%{_sysconfdir}/debuginfod/*.urls %{_sysconfdir}/debuginfod/*.urls
%endif %endif
%endif
%files debuginfod-client-devel %files debuginfod-client-devel
%{_libdir}/pkgconfig/libdebuginfod.pc %{_libdir}/pkgconfig/libdebuginfod.pc
@ -488,6 +494,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service %systemd_postun_with_restart debuginfod.service
%changelog %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 * Fri Apr 19 2024 Aaron Merey <amerey@redhat.com> - 0.191-3
- eu-srcfiles directly links to libdebuginfod.so so explicitly - eu-srcfiles directly links to libdebuginfod.so so explicitly
Require elfutils-debuginfod-client not just Recommends. Require elfutils-debuginfod-client not just Recommends.