summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-03 16:37:47 +0000
committerMatt Wilson <msw@redhat.com>2000-08-03 16:37:47 +0000
commitf443f6f392a63cff0aeb98b37de4ad8b9bb70e3c (patch)
treed5a426fd201f0048f7b3ed601aaafbf86670a717
parentdcd59e47b336d9f4dd7bd9e4e3b44dfd6e736b26 (diff)
downloadanaconda-f443f6f392a63cff0aeb98b37de4ad8b9bb70e3c.tar.gz
anaconda-f443f6f392a63cff0aeb98b37de4ad8b9bb70e3c.tar.xz
anaconda-f443f6f392a63cff0aeb98b37de4ad8b9bb70e3c.zip
make more sense with the whole RELEASE thing
-rw-r--r--Makefile4
-rw-r--r--anaconda.spec.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f6fd3e2c1..e97669969 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
include Makefile.inc
VERSION = 7.0
-DATE = $(shell date "+%Y%m%d%H%M")
+RELEASE = $(shell date "+1.%Y%m%d%H%M")
SUBDIRSHD = balkan isys libfdisk collage loader po text-help \
minislang textw utils scripts bootdisk installclasses \
@@ -79,7 +79,7 @@ create-archive:
@cd /tmp ; cvs -Q -d $(CVSROOT) export -r HEAD anaconda || echo "Um... export aborted."
@cd /tmp/anaconda ; rm isys/modutils/modutils.spec
@cd /tmp/anaconda ; rm -rf comps
- @cd /tmp/anaconda ; sed -e "s/@@VERSION@@/$(VERSION)/g" -e "s/@@DATE@@/$(DATE)/g" < anaconda.spec.in > anaconda.spec
+ @cd /tmp/anaconda ; sed -e "s/@@VERSION@@/$(VERSION)/g" -e "s/@@RELEASE@@/$(RELEASE)/g" < anaconda.spec.in > anaconda.spec
@mv /tmp/anaconda /tmp/anaconda-$(VERSION)
@cd /tmp ; tar -czSpf anaconda-$(VERSION).tar.gz anaconda-$(VERSION)
@rm -rf /tmp/anaconda-$(VERSION)
diff --git a/anaconda.spec.in b/anaconda.spec.in
index b8872b118..3209bb047 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -1,6 +1,6 @@
Name: anaconda
Version: @@VERSION@@
-Release: 0.@@DATE@@
+Release: @@RELEASE@@
Copyright: GPL
Summary: The Red Hat Linux installer.
Group: Applications/System