Skip to content

Commit c1ab4c5

Browse files
committed
Makefile: fixup version extraction
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent e0433c8 commit c1ab4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PACKAGE := python-ethtool
2-
VERSION := $(shell rpm -q --qf '%{VERSION}' --specfile rpm/SPECS/$(PACKAGE).spec)
2+
VERSION := $(shell rpm -q --qf '%{VERSION} ' --specfile rpm/SPECS/$(PACKAGE).spec | cut -d' ' -f1)
33

44
rpmdirs:
55
@[ -d rpm/BUILD ] || mkdir rpm/BUILD

0 commit comments

Comments
 (0)