diff options
-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 |