summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index fe27b63..e6d6370 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -277,11 +277,16 @@ ifndef RELEASE
RELEASE := $(shell rpm ${RPMFLAGS} ${DISTRPMFLAGS} -q --qf "%{RELEASE}\n" \
--specfile ${SPECFILE} | head -1)
endif
+# the last revision date of the package, according to rpm-info
+ifndef REVDATE
+REVDATE := $(shell date doc)
+endif
showvars::
@echo "VERSION=$(VERSION)"
@echo "RELEASE=$(RELEASE)"
@echo "PWD=$(PWD)"
+ @echo "REVDATE=${REVDATE}"
# CVS-safe version/release -- a package name like 4Suite screws things
# up, so we have to remove the leaving digits from the name