Skip to content

Commit

Permalink
Post Release 2.7.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
  • Loading branch information
sandrobonazzola committed Nov 29, 2023
1 parent 57c36b1 commit dda363b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions automation/build-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down
3 changes: 3 additions & 0 deletions ovirt-hosted-engine-setup.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ print((
' > %{_sysconfdir}/ovirt-hosted-engine/virsh_auth.conf

%changelog
* Wed Nov 29 2023 Sandro Bonazzola <sandro.bonazzola@gmail.com> - 2.7.2-0.0.master
- 2.7.2-0.0.master

* Wed Nov 29 2023 Sandro Bonazzola <sandro.bonazzola@gmail.com> - 2.7.1-1
- 2.7.1-1

Expand Down

0 comments on commit dda363b

Please sign in to comment.