Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:36:06 -04:00
parent 61e9efd8fe
commit f48d0d7527

View File

@ -1,6 +1,6 @@
Name: libxshmfence Name: libxshmfence
Version: 1.3 Version: 1.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: X11 shared memory fences Summary: X11 shared memory fences
License: MIT License: MIT
@ -35,8 +35,8 @@ make %{?_smp_mflags}
%make_install %make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig %ldconfig_post
%postun -p /sbin/ldconfig %ldconfig_postun
%files %files
%doc %doc
@ -49,6 +49,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.3-2
- Use ldconfig scriptlet macros
* Mon Feb 26 2018 Adam Jackson <ajax@redhat.com> - 1.3-1 * Mon Feb 26 2018 Adam Jackson <ajax@redhat.com> - 1.3-1
- libxshmfence 1.3 - libxshmfence 1.3