From c8e5e55d5926a715ee955342418dffa78b12f897 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:18:05 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libmetalink.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libmetalink.spec b/libmetalink.spec index c6196d9..39530d8 100644 --- a/libmetalink.spec +++ b/libmetalink.spec @@ -1,6 +1,6 @@ Name: libmetalink Version: 0.1.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Metalink library written in C Group: System Environment/Libraries License: MIT @@ -37,11 +37,7 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name *.la -exec rm {} \; -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %defattr(-,root,root,-) @@ -65,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.1.3-5 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 0.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild