Use ldconfig scriptlet macros
This commit is contained in:
parent
141b119755
commit
a0d02db888
@ -5,7 +5,7 @@
|
||||
Summary: X Fixes library
|
||||
Name: libXfixes
|
||||
Version: 5.0.3
|
||||
Release: 5%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Release: 6%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
@ -53,8 +53,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
# 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,-)
|
||||
@ -70,6 +70,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%{_mandir}/man3/Xfixes.3*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 5.0.3-6
|
||||
- Use ldconfig scriptlet macros
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user