summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-10 09:02:58 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-10 09:02:58 -0500
commitbc26f1ec26b7d3bf23c7670ab9482d9b55aba132 (patch)
tree5d4bd01062fbf926752a94200ee63fe08ef2f911
parentb9aad37c65b7c9c0bd4f6c1ef1a26f2c9dc3db29 (diff)
downloadbuild_tools-rhel5.zip
build_tools-rhel5.tar.gz
build_tools-rhel5.tar.xz
-rwxr-xr-xsssd-nightly.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sssd-nightly.sh b/sssd-nightly.sh
index bbb100f..4b11ab1 100755
--- a/sssd-nightly.sh
+++ b/sssd-nightly.sh
@@ -82,6 +82,12 @@ echo $nextversion > VERSION
echo $prereleaseversion >> VERSION
rpmversion=$nextversion-0$prereleaseversion
+cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
+sed -e "s/m4_define(\[VERSION_NUMBER\], \[.*\])/m4_define(\[VERSION_NUMBER\], \[.$(nextversion)\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4.2
+sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.$(prereleaseversion)\])/" < $(srcdir)/version.m4.2 > $(srcdir)/version.m4
+
+exit -2
+
mv contrib/sssd.spec.in contrib/sssd.spec.in.orig && \
sed -e "s/make %/make CFLAGS=\"-ggdb3 -O0\" %/" < contrib/sssd.spec.in.orig > contrib/sssd.spec.in