Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:18:38 -04:00
parent 849c166e35
commit 2dc8eafae8

View File

@ -3,7 +3,7 @@
Summary: X Athena Widget Set
Name: libXaw
Version: 1.0.13
Release: 8%{?dist}
Release: 9%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
@ -48,8 +48,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
install -pm 644 COPYING README ChangeLog $RPM_BUILD_ROOT%{_pkgdocdir}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_post
%ldconfig_postun
%files
%defattr(-,root,root,-)
@ -76,6 +76,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
#{_pkgdocdir}/%{name}.txt
%changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.0.13-9
- Use ldconfig scriptlet macros
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild