mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 14:18:34 +00:00
added date as release number for rpm cvs building
Original commit message from CVS: added date as release number for rpm cvs building
This commit is contained in:
parent
b7b73cf750
commit
fd1d85bee4
3 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
#undef GST_VERSION_RELEASE
|
||||||
|
|
||||||
/* Gettext stuff */
|
/* Gettext stuff */
|
||||||
#undef ENABLE_NLS
|
#undef ENABLE_NLS
|
||||||
|
|
|
@ -9,6 +9,8 @@ AM_CONFIG_HEADER(config.h)
|
||||||
GST_VERSION_MAJOR=0
|
GST_VERSION_MAJOR=0
|
||||||
GST_VERSION_MINOR=3
|
GST_VERSION_MINOR=3
|
||||||
GST_VERSION_MICRO=0
|
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
|
GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_MICRO
|
||||||
|
|
||||||
PACKAGE=gstreamer
|
PACKAGE=gstreamer
|
||||||
|
@ -18,6 +20,8 @@ AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
|
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
|
||||||
AC_SUBST(PACKAGE)
|
AC_SUBST(PACKAGE)
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
|
AC_DEFINE_UNQUOTED(GST_VERSION_RELEASE, "$GST_VERSION_RELEASE")
|
||||||
|
AC_SUBST(GST_VERSION_RELEASE)
|
||||||
|
|
||||||
dnl libtool
|
dnl libtool
|
||||||
GST_CURRENT=1
|
GST_CURRENT=1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
%define name gstreamer
|
%define name gstreamer
|
||||||
%define ver @VERSION@
|
%define ver @VERSION@
|
||||||
%define rel 1
|
%define rel @GST_VERSION_RELEASE@
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
%define sysconfdir /etc
|
%define sysconfdir /etc
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue