Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:13:12 -04:00
parent f9ed500902
commit 0eb73534ed

View File

@ -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 <ajax@redhat.com> - 1.6.5-8
- Use ldconfig scriptlet macros
* Fri Mar 23 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.6.5-7
- Fix FTBS caused by fake size in the XimCacheStruct (#1556616)