diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-08-19 04:51:44 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-08-19 04:51:44 -0300 |
commit | c1ab4c5c1747f9234ea9582f08ebce7ed68b1945 (patch) | |
tree | 33a75a74af70b08ee3ac32c70a0786c5c17151cc /Makefile | |
parent | e0433c81cd8df073c9e311dace4a0dcf2486331e (diff) | |
download | python-ethtool-c1ab4c5c1747f9234ea9582f08ebce7ed68b1945.tar.gz python-ethtool-c1ab4c5c1747f9234ea9582f08ebce7ed68b1945.tar.xz python-ethtool-c1ab4c5c1747f9234ea9582f08ebce7ed68b1945.zip |
Makefile: fixup version extraction
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |