From 0193ce94da41471eb2370ffef88bfb7c701ae82e Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Thu, 31 Aug 2023 22:10:23 +0300 Subject: [PATCH] MSVSphere debranding: disables upstream debuginfod URL --- SPECS/elfutils.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/SPECS/elfutils.spec b/SPECS/elfutils.spec index e9fd82b..5a6ea6e 100644 --- a/SPECS/elfutils.spec +++ b/SPECS/elfutils.spec @@ -1,7 +1,7 @@ Name: elfutils Version: 0.188 %global baserelease 3 -Release: %{baserelease}%{?dist} +Release: %{baserelease}%{?dist}.inferit URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ License: GPLv3+ and (GPLv2+ or LGPLv3+) and GFDL @@ -283,7 +283,7 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat" trap 'cat config.log' EXIT -%if 0%{?centos} >= 8 +%if 0%{?centos} >= 8 && %{undefined msvsphere} %configure CFLAGS="$RPM_OPT_FLAGS -fexceptions" --enable-debuginfod-urls=https://debuginfod.centos.org/ %else %configure CFLAGS="$RPM_OPT_FLAGS -fexceptions" @@ -423,7 +423,8 @@ fi %{_bindir}/debuginfod-find %{_mandir}/man1/debuginfod-find.1* %{_mandir}/man7/debuginfod*.7* -%if 0%{?centos} >= 8 +%{_sysconfdir}/profile.d/debuginfod.* +%if 0%{?centos} >= 8 && %{undefined msvsphere} %{_sysconfdir}/profile.d/debuginfod.* %{_sysconfdir}/debuginfod/*.urls %endif @@ -461,6 +462,10 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Thu Aug 31 2023 Sergey Cherevko - 0.188-3.inferit +- Disable upstream debuginfod URL +- Rebuilt for MSVSphere 8.8 + * Tue Jul 25 2023 MSVSphere Packaging Team - 0.188-3 - Rebuilt for MSVSphere 8.8