From 41a5045b08fafcc26bd5a327bcb2bd83bf8a1938 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 29 Jun 2018 17:34:50 -0400 Subject: [PATCH] Use ldconfig scriptlet macros --- libxkbfile.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libxkbfile.spec b/libxkbfile.spec index 1369eb9..bd818eb 100644 --- a/libxkbfile.spec +++ b/libxkbfile.spec @@ -1,7 +1,7 @@ Summary: X.Org X11 libxkbfile runtime library Name: libxkbfile Version: 1.0.9 -Release: 7%{?dist} +Release: 8%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -39,8 +39,8 @@ make install DESTDIR=$RPM_BUILD_ROOT # 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,-) @@ -60,6 +60,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_libdir}/pkgconfig/xkbfile.pc %changelog +* Fri Jun 29 2018 Adam Jackson - 1.0.9-8 +- Use ldconfig scriptlet macros + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild