Updated spec files.

This commit is contained in:
codestation
2015-02-16 12:20:40 -04:30
parent 54fcf1ea73
commit 0400567142
3 changed files with 24 additions and 20 deletions

View File

@@ -2,7 +2,7 @@
[ $# -eq 0 ] && { echo "Usage: $0 <version>"; exit 1; }
sed -i "s/Version:.*/Version: $1/" rpmbuild/qcma-fedora.spec
sed -i "s/Version:.*/Version: $1/" rpmbuild/qcma-openSUSE.spec
sed -i "s/%define _version.*/%define _version $1/" rpmbuild/qcma-fedora.spec
sed -i "s/%define _version.*/%define _version $1/" rpmbuild/qcma-opensuse.spec
sed -i "s/VERSION = .*/VERSION = $1/" qcma_common.pri
echo "Don't forget to update the changelog"