From b38315c26dbcc9e626dc295fe612a0ef3c7e8596 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Wed, 18 Feb 2009 19:47:15 -0500 Subject: remove "version" file and updated spec/makefile/setup.py to not need it --- Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2f83003..75ae2b5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION = $(shell echo `awk '{ print $$1 }' version`) -RELEASE = $(shell echo `awk '{ print $$2 }' version`) +VERSION = 0.24 +RELEASE = 4 NEWRELEASE = $(shell echo $$(($(RELEASE) + 1))) PYTHON = /usr/bin/python @@ -24,13 +24,6 @@ messages: certmaster/*.py xgettext -k_ -kN_ -o $(MESSAGESPOT) certmaster/*.py sed -i'~' -e 's/SOME DESCRIPTIVE TITLE/certmaster/g' -e 's/YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/2007 Red Hat, inc. /g' -e 's/FIRST AUTHOR , YEAR/Adrian Likins , 2007/g' -e 's/PACKAGE VERSION/certmaster $(VERSION)-$(RELEASE)/g' -e 's/PACKAGE/certmaster/g' $(MESSAGESPOT) - -bumprelease: - -echo "$(VERSION) $(NEWRELEASE)" > version - -setversion: - -echo "$(VERSION) $(RELEASE)" > version - build: clean $(PYTHON) setup.py build -f @@ -93,7 +86,6 @@ async: install rpms: build manpage sdist mkdir -p rpm-build cp dist/*.gz rpm-build/ - cp version rpm-build/ rpmbuild --define "_topdir %(pwd)/rpm-build" \ --define "_builddir %{_topdir}" \ --define "_rpmdir %{_topdir}" \ -- cgit