Move/add ldconfig post(un)install scriptlets to appropriate subpackages.

This commit is contained in:
Ville Skyttä 2012-07-22 15:15:55 +03:00
parent 616f10f71b
commit 3a3b0b73c7
2 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,6 @@
Name: glew
Version: 1.7.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The OpenGL Extension Wrangler Library
Group: System Environment/Libraries
License: BSD and MIT
@ -66,9 +66,13 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -n libGLEW -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libGLEW -p /sbin/ldconfig
%post -n libGLEWmx -p /sbin/ldconfig
%postun -n libGLEWmx -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
@ -95,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/*
%changelog
* Sun Jul 22 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.7.0-3
- Move/add ldconfig post(un)install scriptlets to appropriate subpackages.
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1,2 +1 @@
342c8dc64fb9daa6af245b132e086bdd glew-1.5.8.tgz
7dfbb444b5a4e125bc5dba0aef403082 glew-1.6.0.tgz