From fd1d85bee40cd98fb2974bd43086d8e2f1916ce9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 13 Dec 2001 22:52:42 +0000 Subject: [PATCH] added date as release number for rpm cvs building Original commit message from CVS: added date as release number for rpm cvs building --- acconfig.h | 1 + configure.ac | 4 ++++ gstreamer.spec.in | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/acconfig.h b/acconfig.h index 9e6271c..9a378b6 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,5 +1,6 @@ #undef PACKAGE #undef VERSION +#undef GST_VERSION_RELEASE /* Gettext stuff */ #undef ENABLE_NLS diff --git a/configure.ac b/configure.ac index b5448a6..093502e 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,8 @@ AM_CONFIG_HEADER(config.h) GST_VERSION_MAJOR=0 GST_VERSION_MINOR=3 GST_VERSION_MICRO=0 +dnl we use the release tag during CVS development +GST_VERSION_RELEASE=`date +%Y%m%d` GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_MICRO PACKAGE=gstreamer @@ -18,6 +20,8 @@ AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") AC_DEFINE_UNQUOTED(VERSION, "$VERSION") AC_SUBST(PACKAGE) AC_SUBST(VERSION) +AC_DEFINE_UNQUOTED(GST_VERSION_RELEASE, "$GST_VERSION_RELEASE") +AC_SUBST(GST_VERSION_RELEASE) dnl libtool GST_CURRENT=1 diff --git a/gstreamer.spec.in b/gstreamer.spec.in index 9003013..cb77551 100644 --- a/gstreamer.spec.in +++ b/gstreamer.spec.in @@ -1,6 +1,6 @@ %define name gstreamer %define ver @VERSION@ -%define rel 1 +%define rel @GST_VERSION_RELEASE@ %define prefix /usr %define sysconfdir /etc -- 2.7.4