aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-08-27 09:50:05 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-08-27 09:50:05 -0300
commitbc5cbc2913d5f945536dd98711bdf4ced6a72a04 (patch)
tree7f57a8bb16b54a9173505dba3079ff53a755e5a8
parent026fccc0492c37b9b50f46700b03800eeee9fd54 (diff)
downloadpython-schedutils-bc5cbc2913d5f945536dd98711bdf4ced6a72a04.tar.gz
Makefile: fixup version parsing
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 118f7c4..21d443c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
PACKAGE := python-schedutils
-VERSION := $(shell rpm -q --qf '%{VERSION}' --specfile rpm/SPECS/$(PACKAGE).spec)
+VERSION := $(shell rpm -q --qf '%{VERSION} ' --specfile rpm/SPECS/$(PACKAGE).spec | cut -d' ' -f1)
rpmdirs:
@[ -d rpm/BUILD ] || mkdir rpm/BUILD