Author: thl
Update of /cvs/free/rpms/buildsys-build-rpmfusion/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26048
Modified Files:
buildsys-build-rpmfusion-kerneldevpkgs-current
buildsys-build-rpmfusion-kerneldevpkgs-newest
buildsys-build-rpmfusion.spec
Added Files:
update-to-latest-kernels.sh
Log Message:
* Thu Oct 23 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 42-2
- rebuild for kernels 2.6.21.7-5.fc8xen 2.6.26.6-49.fc8
--- NEW FILE update-to-latest-kernels.sh ---
#! /bin/bash
print_kernellist()
{
echo ${1}
echo ${1}smp
echo ${1}PAE
}
if [[ ! "${1}" ]] || [[ ! "${2}" ]] ; then
echo "Please call with list of latest standard and xen kernel versions"
>&2
exit 1
fi
if [[ ! "${RPM_PACKAGER}" ]] ; then
echo "Please set RPM_PACKAGER for rpmdev-bumpspec" >&2
exit 1
fi
# update spec file
rpmdev-bumpspec -c "- rebuild for kernels ${1} ${2}" *.spec
# update buildsys-build-rpmfusion-kerneldevpkgs-current
print_kernellist ${1} > buildsys-build-rpmfusion-kerneldevpkgs-current
listofnewkernels=
listofcurrentkernels="$(cat buildsys-build-rpmfusion-kerneldevpkgs-current)"
new=0
while [[ "${1}" ]] ; do
if [[ "${1}" != "${1%%xen}" ]]; then
# this is a xen kernel
if ! echo "${listofcurrentkernels}" | grep "${1}" &>
/dev/null
then
# xen kernel is new! remove the old one and put and the new one in
listofcurrentkernels="$(echo "${listofcurrentkernels}" | grep -v -e
"xen$")"$'\n'"${1}"
listofnewkernels="${listofnewkernels}${1}"
let new++
fi
else
# this is a standard kernel
if ! echo "${listofcurrentkernels}" | grep "${1}" &>
/dev/null
then
# standard kernel is new! put the old ones put and the new ones in
listofcurrentkernels="$(echo "${listofcurrentkernels}" | grep
"xen")"$'\n'"${1}"$'\n'"${1}PAE"$'\n'"${1}smp"
listofnewkernels="${listofnewkernels}${1}"$'\n'"${1}PAE"$'\n'"${1}smp"
let new++
fi
fi
shift
done
echo "${listofcurrentkernels}" >
buildsys-build-rpmfusion-kerneldevpkgs-current
if (( ${new} < 2 )); then
echo "${listofnewkernels}" > buildsys-build-rpmfusion-kerneldevpkgs-newest
else
: > buildsys-build-rpmfusion-kerneldevpkgs-newest
fi
cvs diff -u | less
echo hit enter to continue
read
make clog; cvs commit -F clog
rm clog
make tag build
Index: buildsys-build-rpmfusion-kerneldevpkgs-current
===================================================================
RCS file:
/cvs/free/rpms/buildsys-build-rpmfusion/F-8/buildsys-build-rpmfusion-kerneldevpkgs-current,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- buildsys-build-rpmfusion-kerneldevpkgs-current 3 Oct 2008 06:49:56 -0000 1.1
+++ buildsys-build-rpmfusion-kerneldevpkgs-current 23 Oct 2008 18:45:41 -0000 1.2
@@ -1,4 +1,4 @@
2.6.21.7-5.fc8xen
-2.6.26.5-28.fc8
-2.6.26.5-28.fc8PAE
-2.6.26.5-28.fc8smp
+2.6.26.6-49.fc8
+2.6.26.6-49.fc8PAE
+2.6.26.6-49.fc8smp
Index: buildsys-build-rpmfusion-kerneldevpkgs-newest
===================================================================
RCS file:
/cvs/free/rpms/buildsys-build-rpmfusion/F-8/buildsys-build-rpmfusion-kerneldevpkgs-newest,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- buildsys-build-rpmfusion-kerneldevpkgs-newest 3 Oct 2008 06:49:56 -0000 1.1
+++ buildsys-build-rpmfusion-kerneldevpkgs-newest 23 Oct 2008 18:45:41 -0000 1.2
@@ -1,3 +1,3 @@
-2.6.26.5-28.fc8
-2.6.26.5-28.fc8PAE
-2.6.26.5-28.fc8smp
+2.6.26.6-49.fc8
+2.6.26.6-49.fc8PAE
+2.6.26.6-49.fc8smp
Index: buildsys-build-rpmfusion.spec
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-8/buildsys-build-rpmfusion.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- buildsys-build-rpmfusion.spec 3 Oct 2008 10:14:27 -0000 1.2
+++ buildsys-build-rpmfusion.spec 23 Oct 2008 18:45:41 -0000 1.3
@@ -2,7 +2,7 @@
Name: buildsys-build-%{repo}
Version: 42
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tools and files used by the %{repo} buildsys
Group: Development/Tools
@@ -123,6 +123,9 @@
%changelog
+* Thu Oct 23 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 42-2
+- rebuild for kernels 2.6.21.7-5.fc8xen 2.6.26.6-49.fc8
+
* Thu Oct 02 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 42-1
- Rebuild for RPM Fusion