Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:33:04 -04:00
parent c9ce7ce4e6
commit f9d1a197b2

View File

@ -4,7 +4,7 @@
Summary: X.Org X11 libfontenc runtime library
Name: libfontenc
Version: 1.1.3
Release: 7%{?dist}
Release: 8%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@ -41,8 +41,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# Remove all libtool archives (*.la)
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_post
%ldconfig_postun
%files
%doc COPYING README ChangeLog
@ -55,6 +55,9 @@ find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
%{_libdir}/pkgconfig/fontenc.pc
%changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.1.3-8
- Use ldconfig scriptlet macros
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild