From c1ab4c5c1747f9234ea9582f08ebce7ed68b1945 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Tue, 19 Aug 2008 04:51:44 -0300 Subject: Makefile: fixup version extraction Signed-off-by: Arnaldo Carvalho de Melo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 605eab3..ce181ee 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PACKAGE := python-ethtool -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 -- cgit