Use ldconfig scriptlet macros
This commit is contained in:
parent
822d303cb0
commit
ed8fa9415a
@ -12,7 +12,7 @@
|
||||
Summary: X.Org X11 libXp runtime library
|
||||
Name: libXp
|
||||
Version: 1.0.2
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
@ -79,8 +79,8 @@ rm -rf $RPM_BUILD_ROOT%{_mandir}
|
||||
# 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,-)
|
||||
@ -104,6 +104,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.0.2-11
|
||||
- Use ldconfig scriptlet macros
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user