From: Richard W.M. Jones Date: Wed, 22 Feb 2012 14:05:57 +0000 (+0000) Subject: Make RPM release in spec file into a variable (RPM_RELEASE). X-Git-Tag: 0.0.2~7 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ee226d0cbff4b3b30efc30c0e8f3ae7e4ce1516a;p=whenjobs.git Make RPM release in spec file into a variable (RPM_RELEASE). --- diff --git a/configure.ac b/configure.ac index 4bd2e41..c2b9725 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,10 @@ AC_INIT([whenjobs],0.0.1) AM_INIT_AUTOMAKE([foreign]) +dnl Only used temporarily while whenjobs.spec is contained in the +dnl tarball. We will remove this later. +AC_SUBST([RPM_RELEASE],[1]) + AC_CONFIG_MACRO_DIR([m4]) dnl Allow all GNU/Linux functions. diff --git a/whenjobs.spec.in b/whenjobs.spec.in index 500c9a0..aba6433 100644 --- a/whenjobs.spec.in +++ b/whenjobs.spec.in @@ -6,7 +6,7 @@ Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ -Release: 1 +Release: @RPM_RELEASE@ Summary: Replacement for cron with dependencies Group: Development/Libraries @@ -82,5 +82,5 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Fri Feb 17 2012 Richard W.M. Jones - @PACKAGE_VERSION@-1 +* Fri Feb 17 2012 Richard W.M. Jones - @PACKAGE_VERSION@-@RPM_RELEASE@ - Initial release.