Use ldconfig scriptlet macros

This commit is contained in:
Adam Jackson 2018-06-29 17:36:36 -04:00
parent 0ada4ae1df
commit 7cc2fb14e4
1 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Name: mesa-libGLU
Version: 9.0.0
Release: 14%{?dist}
Release: 15%{?dist}
Summary: Mesa libGLU library
License: MIT
@ -47,9 +47,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
%post -p /sbin/ldconfig
%ldconfig_post
%postun -p /sbin/ldconfig
%ldconfig_postun
%files
%{_libdir}/libGLU.so.1
@ -61,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
%{_libdir}/pkgconfig/glu.pc
%changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 9.0.0-15
- Use ldconfig scriptlet macros
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild