Skip to content

Commit

Permalink
Release 2.7.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro Bonazzola <[email protected]>
  • Loading branch information
sandrobonazzola committed Nov 29, 2023
1 parent 340e19b commit d8297cf
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 130 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: 0 additions & 1 deletion automation/build-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ 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
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ define([VERSION_MAJOR], [2])
define([VERSION_MINOR], [7])
define([VERSION_FIX], [1])
define([VERSION_NUMBER], VERSION_MAJOR[.]VERSION_MINOR[.]VERSION_FIX)
define([VERSION_RELEASE], [0.0])
define([VERSION_SUFFIX], [master])
define([VERSION_RELEASE], [1])
define([VERSION_SUFFIX], [])

AC_INIT(
[ovirt-hosted-engine-setup],
[VERSION_NUMBER[-]VERSION_RELEASE[.]VERSION_SUFFIX],
[VERSION_NUMBER],
[[email protected]],
[],
[http://www.ovirt.org])
PACKAGE_RPM_VERSION="VERSION_NUMBER"
PACKAGE_RPM_RELEASE="VERSION_RELEASE.VERSION_SUFFIX"
PACKAGE_RPM_RELEASE="VERSION_RELEASE"
AC_SUBST([PACKAGE_RPM_VERSION])
AC_SUBST([PACKAGE_RPM_RELEASE])

Expand Down
7 changes: 5 additions & 2 deletions ovirt-hosted-engine-setup.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Summary: oVirt Hosted Engine setup tool
Name: @PACKAGE_NAME@
Version: @PACKAGE_RPM_VERSION@
Release: @PACKAGE_RPM_RELEASE@%{?release_suffix}%{?dist}
License: LGPLv2+
URL: http://www.ovirt.org
License: LGPL-2.0-or-later
URL: https://www.ovirt.org/
Source: https://github.com/oVirt/%{name}/releases/download/%{name}-%{package_version}/%{name}-%{package_version}.tar.gz
Group: Applications/System

Expand Down Expand Up @@ -168,6 +168,9 @@ print((
' > %{_sysconfdir}/ovirt-hosted-engine/virsh_auth.conf

%changelog
* Wed Nov 29 2023 Sandro Bonazzola <[email protected]> - 2.7.1-1
- 2.7.1-1

* Mon Nov 28 2022 Martin Perina <[email protected]> - 2.7.1-0.0.master
- 2.7.1-0.0.master

Expand Down
Loading

0 comments on commit d8297cf

Please sign in to comment.