We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0433c8 commit c1ab4c5Copy full SHA for c1ab4c5
Makefile
@@ -1,5 +1,5 @@
1
PACKAGE := python-ethtool
2
-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)
3
4
rpmdirs:
5
@[ -d rpm/BUILD ] || mkdir rpm/BUILD
0 commit comments