Author: thl
Update of /cvs/free/rpms/buildsys-build-rpmfusion/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25452
Modified Files:
buildsys-build-rpmfusion-list-kernels.sh
Log Message:
fix another leftover in buildsys-build-rpmfusion-list-kernels.sh
Index: buildsys-build-rpmfusion-list-kernels.sh
===================================================================
RCS file:
/cvs/free/rpms/buildsys-build-rpmfusion/devel/buildsys-build-rpmfusion-list-kernels.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- buildsys-build-rpmfusion-list-kernels.sh 2 Oct 2008 18:38:38 -0000 1.2
+++ buildsys-build-rpmfusion-list-kernels.sh 2 Oct 2008 19:11:59 -0000 1.3
@@ -86,7 +86,7 @@
# go
${this_command} ${this_grepoptions} ${this_kernellistfiles} | while read this_kernel; do
- this_kernel_verrel=${this_kernel%%$kernels_known_variants}
+ this_kernel_verrel=${this_kernel%%-$kernels_known_variants}
this_kernel_variant=${this_kernel##$this_kernel_verrel}
if [[ "${requires}" ]] || [[ "${buildrequires}" ]]; then
@@ -100,11 +100,11 @@
fi
else
if [[ "${requires}" ]]; then
- echo "Requires: kernel-devel-uname-r = ${this_kernel}.${this_target}"
+ echo "Requires: kernel-devel-uname-r =
${this_kernel_verrel}.${this_target}${this_kernel_variant:+.${this_kernel_variant##-}}"
fi
if [[ "${buildrequires}" ]]; then
- echo "BuildRequires: kernel-devel-uname-r =
${this_kernel}.${this_target}"
+ echo "BuildRequires: kernel-devel-uname-r =
${this_kernel_verrel}.${this_target}${this_kernel_variant:+.${this_kernel_variant##-}}"
fi
fi
else
Show replies by thread