From 625555810c109f7ba85e965d3ec2040d69096ea3 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 13 Jan 2017 14:59:34 +0100 Subject: [PATCH] 0.168-2 - Filter out private libebl backends from provides. --- elfutils.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/elfutils.spec b/elfutils.spec index 51495b4..dbb403b 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,7 +1,7 @@ Name: elfutils Summary: A collection of utilities and DSOs to handle ELF files and DWARF data Version: 0.168 -%global baserelease 1 +%global baserelease 2 URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ License: GPLv3+ and (GPLv2+ or LGPLv3+) @@ -37,6 +37,16 @@ BuildRequires: xz-devel %global _gnu %{nil} %global _program_prefix eu- +# The lib[64]/elfutils directory contains the private ebl backend +# libraries. They must not be exposed as global provides. We don't +# need to filter the requires since they are only loaded with dlopen. +%if 0%{?fedora} >= 15 +%global __provides_exclude ^libebl_.*\\.so.*$ +%else +%filter_provides_in %{_libdir}/elfutils/libebl_.*\.so$ +%filter_setup +%endif + %description Elfutils is a collection of utilities, including stack (to show backtraces), nm (for listing symbols from object files), size @@ -293,6 +303,9 @@ rm -rf ${RPM_BUILD_ROOT} %endif %changelog +* Fri Jan 13 2017 Mark Wielaard - 0.168-2 +- Filter out private libebl backends from provides. + * Wed Dec 28 2016 Mark Wielaard - 0.168-1 - New upstream release from new home https://sourceware.org/elfutils/ - Resolves: