Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:12:11 -04:00
parent 541addab4b
commit bd4bf323fb

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 SM runtime library
Name: libSM
Version: 1.2.2
Release: 8%{?dist}
Release: 9%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@ -48,8 +48,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# we %%doc these ourselves, later, and only the text versions
rm -rf $RPM_BUILD_ROOT%{_docdir}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_post
%ldconfig_postun
%files
%defattr(-,root,root,-)
@ -67,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}
%{_libdir}/pkgconfig/sm.pc
%changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.2.2-9
- Use ldconfig scriptlet macros
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild