From 2e980a0f45f37e39f93ac2fc2de6017d37351296 Mon Sep 17 00:00:00 2001 From: Sandro Bonazzola Date: Wed, 29 Nov 2023 10:10:10 +0100 Subject: [PATCH] Post Release 2.7.1 Signed-off-by: Sandro Bonazzola --- .copr/Makefile | 4 ++-- automation/build-artifacts.sh | 1 + configure.ac | 10 +++++----- ovirt-hosted-engine-setup.spec.in | 3 +++ 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.copr/Makefile b/.copr/Makefile index 49185905..9daebf90 100644 --- a/.copr/Makefile +++ b/.copr/Makefile @@ -13,9 +13,9 @@ git_cfg_safe: git config --global --add safe.directory "$(shell pwd)" srpm: installdeps git_cfg_safe - # $(eval SUFFIX=$(shell sh -c " echo '.$$(date -u +%Y%m%d%H%M%S).git$$(git rev-parse --short HEAD)'")) + $(eval SUFFIX=$(shell sh -c " echo '.$$(date -u +%Y%m%d%H%M%S).git$$(git rev-parse --short HEAD)'")) # changing the spec file as passing -D won't preserve the suffix when rebuilding in mock - # sed "s:%{?release_suffix}:${SUFFIX}:" -i *.spec.in + sed "s:%{?release_suffix}:${SUFFIX}:" -i *.spec.in mkdir -p tmp.repos/SOURCES autopoint autoreconf -ivf diff --git a/automation/build-artifacts.sh b/automation/build-artifacts.sh index a53f0eff..8a5f8ee9 100755 --- a/automation/build-artifacts.sh +++ b/automation/build-artifacts.sh @@ -16,6 +16,7 @@ dnf builddep -y ovirt-hosted-engine-setup.spec rpmbuild \ -D "_topdir $PWD/tmp.repos" \ + -D "release_suffix ${SUFFIX}" \ -ta ovirt-hosted-engine-setup-*.tar.gz mv ./*.tar.gz exported-artifacts diff --git a/configure.ac b/configure.ac index b136cc8a..33267d82 100644 --- a/configure.ac +++ b/configure.ac @@ -20,19 +20,19 @@ AC_PREREQ(2.60) define([VERSION_MAJOR], [2]) define([VERSION_MINOR], [7]) -define([VERSION_FIX], [1]) +define([VERSION_FIX], [2]) define([VERSION_NUMBER], VERSION_MAJOR[.]VERSION_MINOR[.]VERSION_FIX) -define([VERSION_RELEASE], [1]) -define([VERSION_SUFFIX], []) +define([VERSION_RELEASE], [0.0]) +define([VERSION_SUFFIX], [master]) AC_INIT( [ovirt-hosted-engine-setup], - [VERSION_NUMBER], + [VERSION_NUMBER[-]VERSION_RELEASE[.]VERSION_SUFFIX], [devel@ovirt.org], [], [http://www.ovirt.org]) PACKAGE_RPM_VERSION="VERSION_NUMBER" -PACKAGE_RPM_RELEASE="VERSION_RELEASE" +PACKAGE_RPM_RELEASE="VERSION_RELEASE.VERSION_SUFFIX" AC_SUBST([PACKAGE_RPM_VERSION]) AC_SUBST([PACKAGE_RPM_RELEASE]) diff --git a/ovirt-hosted-engine-setup.spec.in b/ovirt-hosted-engine-setup.spec.in index 3c0b12a1..d22d649b 100644 --- a/ovirt-hosted-engine-setup.spec.in +++ b/ovirt-hosted-engine-setup.spec.in @@ -168,6 +168,9 @@ print(( ' > %{_sysconfdir}/ovirt-hosted-engine/virsh_auth.conf %changelog +* Wed Nov 29 2023 Sandro Bonazzola - 2.7.2-0.0.master +- 2.7.2-0.0.master + * Wed Nov 29 2023 Sandro Bonazzola - 2.7.1-1 - 2.7.1-1