summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-02-28 11:26:27 -0500
committerDave Jones <davej@redhat.com>2012-02-28 11:26:27 -0500
commitac1a857eb1b8e1afddadcfa49332beb762366451 (patch)
treeff0331003993a29a5b6ed5e6193df2003c6d459f /scripts
parentc325fa4fd0f681c012a5635542613a53df9bdfc6 (diff)
downloadkernel-ac1a857eb1b8e1afddadcfa49332beb762366451.tar.gz
kernel-ac1a857eb1b8e1afddadcfa49332beb762366451.tar.xz
kernel-ac1a857eb1b8e1afddadcfa49332beb762366451.zip
some tweaks to make the changelog version more correct
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-git-snapshot.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/generate-git-snapshot.sh b/scripts/generate-git-snapshot.sh
index 17a9c438f..5e84a0af8 100755
--- a/scripts/generate-git-snapshot.sh
+++ b/scripts/generate-git-snapshot.sh
@@ -16,4 +16,7 @@ popd
mv /tmp/patch-$VER-git.xz .
+perl -p -i -e 's|%global baserelease.*|%global baserelease 1|' kernel.spec
+
+#FIXME: Need the right gitN number for the version to be correct.
rpmdev-bumpspec -c "Linux $DESC" kernel.spec