diff --git a/SPECS/osbuild-composer.spec b/SPECS/osbuild-composer.spec index 5b56b3e..0e54f99 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 @@ -424,6 +430,12 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c * Wed Mar 15 2023 MSVSphere Packaging Team - 62.1-1 - Rebuilt for MSVSphere 9.1. +* 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