From b026122cbad3bcd454a04e8ed0db09544ab1f6d6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 05 2021 14:08:40 +0000 Subject: import gcc-toolset-10-elfutils-0.182-5.el8_4 --- diff --git a/SPECS/elfutils.spec b/SPECS/elfutils.spec index 325a63a..80c1520 100644 --- a/SPECS/elfutils.spec +++ b/SPECS/elfutils.spec @@ -5,7 +5,7 @@ Name: %{?scl_prefix}elfutils Version: 0.182 -%global baserelease 3 +%global baserelease 5 Release: %{baserelease}%{?dist} URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ @@ -76,6 +76,16 @@ BuildRequires: autoconf automake # For DTS we never provide the default yama scope. %global provide_yama_scope 0 +# Are we building for a Software Collection? +%{?scl:%global is_scl 1} +%{!?scl:%global is_scl 0} + +# Remove any pkgconfig provides for SCL devel packages. +# These should only be provided by the base packages. +%if %{is_scl} +%define __provides_exclude_from ^%{_libdir}/pkgconfig/.*.pc$ +%endif + # Patches Patch1: elfutils-0.182-debuginfod-test-fix.patch @@ -427,6 +437,12 @@ fi %changelog +* Thu Jul 29 2021 Mark Wielaard - 0.182-5 +- Use __provides_exclude_from instead of filter_from_provides + +* Thu Jun 29 2021 Mark Wielaard - 0.182-4 +- Filter out pkgconfig provides + * Wed Nov 11 2020 Mark Wielaard - 0.182-3 - Add -lzstd to libdw.so linker script.