diff --git a/update-kernel.spec b/update-kernel.spec index 8158453..d4e49dd 100644 --- a/update-kernel.spec +++ b/update-kernel.spec @@ -7,7 +7,7 @@ License: GPL Group: System/Kernel and hardware Packager: Vladimir V Kamarzin -Source0: update_kernel_modules_cetus.sh +Source0: %name-%version.tar BuildArch: noarch Requires: /usr/bin/rpmevrcmp @@ -27,14 +27,14 @@ http://lists.altlinux.org/pipermail/community/2005-November/366618.html http://lists.altlinux.org/pipermail/sisyphus/2006-November/192226.html %prep - -%build +%setup %install -install -pD -m755 %SOURCE0 %buildroot%_sbindir/%name +install -pDm755 update_kernel_modules_cetus.sh %buildroot%_sbindir/%name +install -pm755 remove-old-kernels %buildroot%_sbindir/ %files -%_sbindir/%name +%_sbindir/* %changelog * Mon Nov 24 2008 Vladimir V. Kamarzin 0.7-alt1