Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:34:00 -04:00
parent 08fb927858
commit 61036003bc

View File

@ -2,7 +2,7 @@
Name: libxcb
Version: 1.13
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A C binding to the X11 protocol
License: MIT
URL: http://xcb.freedesktop.org/
@ -76,9 +76,9 @@ sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefi
find $RPM_BUILD_ROOT -name '*.la' -delete
%post -p /sbin/ldconfig
%ldconfig_post
%postun -p /sbin/ldconfig
%ldconfig_postun
%files
%{_libdir}/libxcb-composite.so.0*
@ -117,6 +117,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{_pkgdocdir}
%changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.13-3
- Use ldconfig scriptlet macros
* Mon Mar 19 2018 Adam Jackson <ajax@redhat.com> - 1.13-2
- Build with python3