diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ NAME=bootsplash -VERSION := $(shell sed -n 's/%define version //p' < $(NAME).spec) -RELEASE := $(shell sed -n 's/%define release //p' < $(NAME).spec) +VERSION := $(shell rpm -q --qf '%{version}\n' --specfile $(NAME).spec | head -1) +RELEASE := $(shell rpm -q --qf '%{release}\n' --specfile $(NAME).spec | head -1) RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') SUBDIRS=scripts fb fbmngplay fbtruetype splash po @@ -36,6 +36,7 @@ changelog: ../common/username ) cvstag: + echo $(RELTAG) cvs commit cvs tag $(RELTAG) |