From f5bbce6e97dde78ed7c2ed409f76c1fb138e7637 Mon Sep 17 00:00:00 2001 From: Miroslav Rezanina Date: Mon, 6 May 2024 05:44:18 -0400 Subject: [PATCH] * Mon May 06 2024 Miroslav Rezanina - 24.1.4-4 - ci-Report-full-specific-version-with-cloud-init-version.patch [RHEL-34764] - Resolves: RHEL-34764 ([RHEL-10] cloud-init should report full version with "cloud-init --version" ) --- cloud-init.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cloud-init.spec b/cloud-init.spec index cdf3043..6d8c32a 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -6,7 +6,7 @@ Name: cloud-init Version: 24.1.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cloud instance init scripts License: Apache-2.0 OR GPL-3.0-only URL: https://github.com/canonical/cloud-init @@ -102,6 +102,8 @@ find tests/ -type f | xargs sed -i s/assertItemsEqual/assertCountEqual/ # Generate cloud-config file python3 tools/render-template --variant %{?rhel:rhel}%{!?rhel:fedora} > $RPM_BUILD_ROOT/%{_sysconfdir}/cloud/cloud.cfg +sed -i "s,@@PACKAGED_VERSION@@,%{version}-%{release}," $RPM_BUILD_ROOT/%{python3_sitelib}/cloudinit/version.py + mkdir -p $RPM_BUILD_ROOT/var/lib/cloud # /run/cloud-init needs a tmpfiles.d entry @@ -225,6 +227,11 @@ fi %changelog +* Mon May 06 2024 Miroslav Rezanina - 24.1.4-4 +- ci-Report-full-specific-version-with-cloud-init-version.patch [RHEL-34764] +- Resolves: RHEL-34764 + ([RHEL-10] cloud-init should report full version with "cloud-init --version" ) + * Mon Apr 29 2024 Miroslav Rezanina - 24.1.4-3 - ci-Fix-spec-file-post-install-script.patch [RHEL-33954] - ci-refactor-remove-dependency-on-netifaces-4634.patch [RHEL-34518]