diff options
author | David Sommerseth <davids@redhat.com> | 2009-06-12 17:31:39 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-06-12 17:31:39 +0200 |
commit | b1db52e62be1a700517308877b08dbf8c5d9e1eb (patch) | |
tree | e30693bd9ea86151fadb755de9dfd37e90283183 /utils | |
parent | 0e76f37815c9a9d218f1b2b1321a138964038e49 (diff) | |
download | python-dmidecode-b1db52e62be1a700517308877b08dbf8c5d9e1eb.tar.gz python-dmidecode-b1db52e62be1a700517308877b08dbf8c5d9e1eb.tar.xz python-dmidecode-b1db52e62be1a700517308877b08dbf8c5d9e1eb.zip |
Make use of setup_common::get_version() in python-dmidecode.spec as well
Now you only need to change the src/version.h to set the correct version
numbers. The utils/set_version script will still help you remember the
important steps and make sure you don't do the wrong things.
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/set_version | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/set_version b/utils/set_version index 41c3337..fcb081f 100755 --- a/utils/set_version +++ b/utils/set_version @@ -35,12 +35,12 @@ case $conf in echo " ** Updating src/version.h" printf ",s/^#define VERSION \".*\"/#define VERSION \"${NEW_VERSION}\"/\nw\n" | ed src/version.h 2>/dev/null - echo " ** Updating redhat.spec" - printf ",s/^Version: .*/Version: ${NEW_VERSION}/\nw\n" | ed contrib/python-dmidecode.spec 2>/dev/null - echo - echo " ** git add src/version.h redhat.spec" - git add src/version.h contrib/python-dmidecode.spec + echo " ** git add src/version.h" + git add src/version.h + git diff --cached + echo + echo " REMEMBER to commit this change when you have validated the result" echo ;; *) |