Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:27:59 -04:00
parent 2101625d97
commit 91edf0822e

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libXpm runtime library Summary: X.Org X11 libXpm runtime library
Name: libXpm Name: libXpm
Version: 3.5.12 Version: 3.5.12
Release: 5%{?dist} Release: 6%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.x.org URL: http://www.x.org
@ -40,8 +40,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
# We intentionally don't ship *.la files # We intentionally don't ship *.la files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig %ldconfig_post
%postun -p /sbin/ldconfig %ldconfig_postun
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -61,6 +61,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
#%{_mandir}/man1/*.1x* #%{_mandir}/man1/*.1x*
%changelog %changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 3.5.12-6
- Use ldconfig scriptlet macros
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-5 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild