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