From b99467f16976b9590ceb41612a344f184182d5776efb4a4977826305a08be816 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 17 May 2011 05:02:24 +0000 Subject: [PATCH] GIT Revision: 5cdd91c909da97ae32edac33fd660590ee7fcacd OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-source?expand=0&rev=6971 --- kernel-binary.spec.in | 16 +++++----------- kernel-debug.changes | 6 ++++++ kernel-debug.spec | 19 ++++++++----------- kernel-default.changes | 6 ++++++ kernel-default.spec | 19 ++++++++----------- kernel-desktop.changes | 6 ++++++ kernel-desktop.spec | 19 ++++++++----------- kernel-docs.changes | 6 ++++++ kernel-docs.spec | 3 +++ kernel-ec2.changes | 6 ++++++ kernel-ec2.spec | 19 ++++++++----------- kernel-pae.changes | 6 ++++++ kernel-pae.spec | 19 ++++++++----------- kernel-ppc64.changes | 6 ++++++ kernel-ppc64.spec | 19 ++++++++----------- kernel-ps3.changes | 6 ++++++ kernel-ps3.spec | 19 ++++++++----------- kernel-s390.changes | 6 ++++++ kernel-s390.spec | 19 ++++++++----------- kernel-source.changes | 6 ++++++ kernel-source.spec | 3 +++ kernel-syms.changes | 6 ++++++ kernel-syms.spec | 3 +++ kernel-trace.changes | 6 ++++++ kernel-trace.spec | 19 ++++++++----------- kernel-vanilla.changes | 6 ++++++ kernel-vanilla.spec | 19 ++++++++----------- kernel-xen.changes | 6 ++++++ kernel-xen.spec | 19 ++++++++----------- source-timestamp | 4 ++-- 30 files changed, 188 insertions(+), 134 deletions(-) diff --git a/kernel-binary.spec.in b/kernel-binary.spec.in index f6a61a22..e1e09b0d 100644 --- a/kernel-binary.spec.in +++ b/kernel-binary.spec.in @@ -266,18 +266,12 @@ make clean $MAKE_ARGS rm -f source find . ! -type d -printf '%%P\n' > %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv < %my_builddir/obj-files +# Override the timestamp 'uname -v' reports with the source timestamp and +# the commit hash. +date=$(head -n 1 %_sourcedir/source-timestamp) +commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp) cat > .kernel-binary.spec.buildenv <