diff options
author | Dave Jones <davej@redhat.com> | 2012-02-28 11:26:27 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2012-02-28 11:26:27 -0500 |
commit | ac1a857eb1b8e1afddadcfa49332beb762366451 (patch) | |
tree | ff0331003993a29a5b6ed5e6193df2003c6d459f /scripts | |
parent | c325fa4fd0f681c012a5635542613a53df9bdfc6 (diff) | |
download | kernel-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-x | 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 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 |