From 185c1c96978f6c58f6d3381332e4aee7e757fc58 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:41:16 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- elfutils.spec | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/elfutils.spec b/elfutils.spec index 635549e..3c4143b 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.170 -%global baserelease 4 +%global baserelease 5 URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ License: GPLv3+ and (GPLv2+ or LGPLv3+) @@ -208,16 +208,8 @@ install -Dm0644 config/10-default-yama-scope.conf ${RPM_BUILD_ROOT}%{_sysctldir} %check make -s %{?_smp_mflags} check || (cat tests/test-suite.log; false) -%clean -rm -rf ${RPM_BUILD_ROOT} - -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig - -%post libelf -p /sbin/ldconfig - -%postun libelf -p /sbin/ldconfig +%ldconfig_scriptlets libs +%ldconfig_scriptlets libelf %if %{provide_yama_scope} %post default-yama-scope @@ -309,6 +301,9 @@ fi %endif %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.170-5 +- Switch to %%ldconfig_scriptlets + * Wed Dec 20 2017 Mark Wielaard - 0.170-4 - Add elfutils-0.170-dwarf_aggregate_size.patch.