From d5d43738d1b3af3ef486f38560b715da2be6afe2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 15 Nov 2022 10:36:46 -0500 Subject: [PATCH] import osbuild-composer-62.1-3.el9_1 --- SPECS/osbuild-composer.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/SPECS/osbuild-composer.spec b/SPECS/osbuild-composer.spec index 29f6765..4560bd6 100644 --- a/SPECS/osbuild-composer.spec +++ b/SPECS/osbuild-composer.spec @@ -22,7 +22,7 @@ It is compatible with composer-cli and cockpit-composer clients. } Name: osbuild-composer -Release: 1%{?dist} +Release: 3%{?dist} Summary: An image building service based on osbuild # osbuild-composer doesn't have support for building i686 and armv7hl images @@ -350,6 +350,12 @@ The dnf-json binary used by osbuild-composer and the workers. %files dnf-json %{_libexecdir}/osbuild-composer/dnf-json +%post dnf-json +# Fix ownership of the rpmmd cache files from previous versions where it was owned by root:root +if [ -e /var/cache/osbuild-composer/rpmmd ]; then + chown -f -R --from root:root _osbuild-composer:_osbuild-composer /var/cache/osbuild-composer/rpmmd +fi + %if %{with tests} || 0%{?rhel} %package tests @@ -421,6 +427,12 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c %endif %changelog +* Tue Oct 25 2022 Tomáš Hozza - 62.1-3 +- Fix ownership of the dnf-json rpmmd files on upgrade (#2136533) + +* Fri Oct 21 2022 Tomáš Hozza - 62.1-2 +- Fix ownership of the dnf-json rpmmd files on upgrade (#2136533) + * Fri Sep 16 2022 Achilleas Koutsou - 62.1-1 - New upstream release