aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index b87d7d14..a480fd12 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,10 +3,9 @@
#
NAME = sos
-VERSION = $(shell awk '/define version/ { print $$3 }' sos.spec)
-RELEASE = $(shell awk '/define release/ { print $$3 }' sos.spec)
+VERSION = $(shell awk '/Version/ { print $$2 }' sos.spec)
REPO = https://sos.108.redhat.com/svn/sos
-SVNTAG = r$(subst .,-,$(VERSION)-$(RELEASE))
+SVNTAG = r$(subst .,-,$(VERSION))
all:
@@ -39,7 +38,7 @@ install:
python setup.py install
version:
- @echo "The version is $(NAME)-$(VERSION)-$(RELEASE)"
+ @echo "The version is $(NAME)-$(VERSION)"
clean:
- @rm -fv *~ .*~ changenew ChangeLog.old $(NAME)-$(VERSION)-$(RELEASE).tar.bz2
+ @rm -fv *~ .*~ changenew ChangeLog.old $(NAME)-$(VERSION).tar.bz2