Use ldconfig scriptlet macros
This commit is contained in:
parent
a07688f8e9
commit
3a63708c25
@ -5,7 +5,7 @@
|
||||
Summary: X.Org X11 DMX runtime library
|
||||
Name: libdmx
|
||||
Version: 1.1.4
|
||||
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
@ -52,8 +52,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
# 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,-)
|
||||
@ -69,6 +69,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%{_includedir}/X11/extensions/dmxext.h
|
||||
|
||||
%changelog
|
||||
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.1.4-2
|
||||
- Use ldconfig scriptlet macros
|
||||
|
||||
* Mon May 14 2018 Adam Jackson <ajax@redhat.com> - 1.1.4-1
|
||||
- libdmx 1.1.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user