SPECS: kernel-vanilla.spec - add triggerun to remove symlinks (avo...
glen
glen at pld-linux.org
Tue Feb 12 02:40:26 CET 2008
Author: glen Date: Tue Feb 12 01:40:26 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add triggerun to remove symlinks (avoid dead links)
---- Files affected:
SPECS:
kernel-vanilla.spec (1.125 -> 1.126)
---- Diffs:
================================================================
Index: SPECS/kernel-vanilla.spec
diff -u SPECS/kernel-vanilla.spec:1.125 SPECS/kernel-vanilla.spec:1.126
--- SPECS/kernel-vanilla.spec:1.125 Tue Feb 12 02:09:29 2008
+++ SPECS/kernel-vanilla.spec Tue Feb 12 02:40:20 2008
@@ -632,6 +632,11 @@
ln -sfn %{_kernelsrcdir} /lib/modules/%{kernel_release}/build
ln -sfn %{_kernelsrcdir} /lib/modules/%{kernel_release}/source
+%triggerun module-build -- %{name} = %{epoch}:%{version}-%{release}
+if [ "$1" = 0 ]; then
+ rm -f /lib/modules/%{kernel_release}/{build,source}
+fi
+
%if %{without noarch}
%files
%defattr(644,root,root,755)
@@ -807,6 +812,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.126 2008-02-12 01:40:20 glen
+- add triggerun to remove symlinks (avoid dead links)
+
Revision 1.125 2008-02-12 01:09:29 glen
- arch vs noarch packaging
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel-vanilla.spec?r1=1.125&r2=1.126&f=u
More information about the pld-cvs-commit
mailing list