[kernel] some tweaks to make the changelog version more correct
Dave Jones
davej at fedoraproject.org
Tue Feb 28 16:27:14 UTC 2012
commit ac1a857eb1b8e1afddadcfa49332beb762366451
Author: Dave Jones <davej at redhat.com>
Date: Tue Feb 28 11:26:27 2012 -0500
some tweaks to make the changelog version more correct
scripts/generate-git-snapshot.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/scripts/generate-git-snapshot.sh b/scripts/generate-git-snapshot.sh
index 17a9c43..5e84a0a 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
More information about the scm-commits
mailing list