From ee010b8fd0b3df5be9a550f1064854675e49c3d6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 08 2022 10:52:26 +0000 Subject: import osbuild-composer-62-3.el8_7 --- diff --git a/SPECS/osbuild-composer.spec b/SPECS/osbuild-composer.spec index 319135c..8965ad4 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 @@ -353,6 +353,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 @@ -424,6 +430,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-3 +- Fix ownership of the dnf-json rpmmd files on upgrade (#2136532) + +* Fri Oct 21 2022 Tomáš Hozza - 62-2 +- Fix ownership of the dnf-json rpmmd files on upgrade (#2136532) + * Mon Aug 29 2022 Ondřej Budai - 62-1 - New upstream release