Move/add ldconfig post(un)install scriptlets to appropriate subpackages.
This commit is contained in:
parent
616f10f71b
commit
3a3b0b73c7
15
glew.spec
15
glew.spec
@ -1,12 +1,12 @@
|
||||
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
|
||||
URL: http://glew.sourceforge.net
|
||||
|
||||
Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
|
||||
Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
|
||||
Patch0: glew-1.6.0-makefile.patch
|
||||
BuildRequires: libGLU-devel
|
||||
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user