From ed8fa9415a011050e6d98d6f1086a4ba7b2f4e39 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 29 Jun 2018 17:27:36 -0400 Subject: [PATCH] Use ldconfig scriptlet macros --- libXp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libXp.spec b/libXp.spec index 97d7251..8d34255 100644 --- a/libXp.spec +++ b/libXp.spec @@ -12,7 +12,7 @@ Summary: X.Org X11 libXp runtime library Name: libXp Version: 1.0.2 -Release: 10%{?dist} +Release: 11%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -79,8 +79,8 @@ rm -rf $RPM_BUILD_ROOT%{_mandir} # We intentionally don't ship *.la files rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_post +%ldconfig_postun %files %defattr(-,root,root,-) @@ -104,6 +104,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %endif %changelog +* Fri Jun 29 2018 Adam Jackson - 1.0.2-11 +- Use ldconfig scriptlet macros + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild