From 0eb73534edb66458f58381def8a2331ef92e3cca Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 29 Jun 2018 17:13:12 -0400 Subject: [PATCH] Use ldconfig scriptlet macros --- libX11.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libX11.spec b/libX11.spec index a1415bb..41a7ab2 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.6.5 -Release: 7%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 8%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -87,8 +87,8 @@ rm -rf $RPM_BUILD_ROOT%{_docdir} %check make %{?_smp_mflags} check -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_post +%ldconfig_postun %files %{_libdir}/libX11.so.6 @@ -126,6 +126,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Fri Jun 29 2018 Adam Jackson - 1.6.5-8 +- Use ldconfig scriptlet macros + * Fri Mar 23 2018 Peter Hutterer 1.6.5-7 - Fix FTBS caused by fake size in the XimCacheStruct (#1556616)