From 1600c1a4286f6790f3c4b7e548d65970285858ef Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 15 Apr 2024 19:29:50 +0300 Subject: [PATCH] MSVSphere debranding: disables upstream debuginfod URL --- SPECS/elfutils.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/SPECS/elfutils.spec b/SPECS/elfutils.spec index 2ef489f..8ccc40f 100644 --- a/SPECS/elfutils.spec +++ b/SPECS/elfutils.spec @@ -1,7 +1,7 @@ Name: elfutils Version: 0.190 %global baserelease 2 -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 @@ -281,7 +281,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" --enable-debuginfod-urls=https://debuginfod.centos.org/ %else %configure CFLAGS="$RPM_OPT_FLAGS" @@ -422,7 +422,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 @@ -459,7 +460,8 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog -* Fri Mar 29 2024 MSVSphere Packaging Team - 0.190-2 +* Mon Apr 15 2024 Sergey Cherevko - 0.190-2.inferit +- Disable upstream debuginfod URL - Rebuilt for MSVSphere 8.10 beta * Fri Dec 8 2023 Aaron Merey - 0.190-2