Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:26:31 -04:00
parent 031b6041fd
commit 99b88ae2f5

View File

@ -5,7 +5,7 @@
Summary: X.Org X11 libXinerama runtime library
Name: libXinerama
Version: 1.1.3
Release: 10%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Release: 11%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@ -55,8 +55,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,-)
@ -73,6 +73,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_includedir}/X11/extensions/panoramiXext.h
%changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.1.3-11
- Use ldconfig scriptlet macros
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild