packages: kernel-xen0/kernel-xen0.spec - reverted some adapter's changes (p...
pawelz
pawelz at pld-linux.org
Wed Feb 17 15:45:20 CET 2010
Author: pawelz Date: Wed Feb 17 14:45:20 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- reverted some adapter's changes (pointed out by glen, thx)
---- Files affected:
packages/kernel-xen0:
kernel-xen0.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: packages/kernel-xen0/kernel-xen0.spec
diff -u packages/kernel-xen0/kernel-xen0.spec:1.10 packages/kernel-xen0/kernel-xen0.spec:1.11
--- packages/kernel-xen0/kernel-xen0.spec:1.10 Tue Feb 16 18:26:06 2010
+++ packages/kernel-xen0/kernel-xen0.spec Wed Feb 17 15:45:15 2010
@@ -539,8 +539,8 @@
ln -sf initrd-%{kernel_release}.gz %{initrd_dir}/initrd-%{alt_kernel}
if [ -x /sbin/new-kernel-pkg ]; then
-if [ -f %{_sysconfdir}/pld-release ]; then
-title=$(sed 's/^[0-9.]\+ //' < %{_sysconfdir}/pld-release)
+ if [ -f /etc/pld-release ]; then
+ title=$(sed 's/^[0-9.]\+ //' < /etc/pld-release)
else
title='PLD Linux'
fi
@@ -580,14 +580,14 @@
%depmod %{kernel_release}
%post headers
-rm -f %{_kernelsrcdir}-%{alt_kernel}
-ln -snf %{basename:%{_kernelsrcdir}} %{_kernelsrcdir}-%{alt_kernel}
+rm -f %{_prefix}/src/linux-%{alt_kernel}
+ln -snf %{basename:%{_kernelsrcdir}} %{_prefix}/src/linux-%{alt_kernel}
%postun headers
if [ "$1" = "0" ]; then
- if [ -L %{_kernelsrcdir}-%{alt_kernel} ]; then
- if [ "$(readlink %{_kernelsrcdir}-%{alt_kernel})" = "linux-%{version}_%{alt_kernel}" ]; then
- rm -f %{_kernelsrcdir}-%{alt_kernel}
+ if [ -L %{_prefix}/src/linux-%{alt_kernel} ]; then
+ if [ "$(readlink %{_prefix}/src/linux-%{alt_kernel})" = "linux-%{version}_%{alt_kernel}" ]; then
+ rm -f %{_prefix}/src/linux-%{alt_kernel}
fi
fi
fi
@@ -919,6 +919,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2010/02/17 14:45:15 pawelz
+- reverted some adapter's changes (pointed out by glen, thx)
+
Revision 1.10 2010/02/16 17:26:06 pawelz
- adapterized
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel-xen0/kernel-xen0.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list