From 496b104a76070d63b932216398fbd9f24a2a0c30 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 29 Jun 2018 17:30:45 -0400 Subject: [PATCH] Use ldconfig scriptlet macros --- libXv.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libXv.spec b/libXv.spec index 1d9be72..c31717a 100644 --- a/libXv.spec +++ b/libXv.spec @@ -5,7 +5,7 @@ Summary: X.Org X11 libXv runtime library Name: libXv Version: 1.0.11 -Release: 5%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 6%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -52,8 +52,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,-) @@ -71,6 +71,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_mandir}/man3/*.3* %changelog +* Fri Jun 29 2018 Adam Jackson - 1.0.11-6 +- Use ldconfig scriptlet macros + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild