Yaniv Bronhaim has uploaded a new change for review.
Change subject: Adding --with-local-version flag to configure ......................................................................
Adding --with-local-version flag to configure
Change-Id: I93dcd1abed31babceb3e36d07ac994765203a0be Signed-off-by: Yaniv Bronhaim ybronhei@redhat.com --- M configure.ac M vdsm.spec.in 2 files changed, 10 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/02/35202/1
diff --git a/configure.ac b/configure.ac index df133e6..dedad19 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,13 @@ AC_SUBST([ENABLE_LIBVIRT_SELINUX], ["${enable_libvirt_selinux}"])
AC_ARG_WITH( + [local-version], + [AS_HELP_STRING([--with-local-version], [local version to use])], + [LOCAL_VERSION="${withval}"], + [LOCAL_VERSION=""] +) + +AC_ARG_WITH( [qemu-user], [AS_HELP_STRING( [--with-qemu-user=USER], diff --git a/vdsm.spec.in b/vdsm.spec.in index 4ac6747..2725e6d 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -672,7 +672,9 @@ %if 0%{?enable_autotools} autoreconf -if %endif -%configure %{?with_hooks:--enable-hooks} +%configure \ + %{?with_hooks:--enable-hooks} \ + --with-local-version="%{name}-%{version}-%{release}" make # Setting software_version and software_revision in dsaversion.py baserelease=`echo "%{release}" | sed 's/([0-9]+(.[0-9]+)?).*/\1/'`