From 4771d407e07eb31ae1fe1f41a71c96f4ecfa6d2d Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Tue, 24 May 2022 19:06:05 +0200 Subject: [PATCH] Fix missing profiles directory. Related: #2089418 --- boom-boot.spec | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/boom-boot.spec b/boom-boot.spec index e5f48eb..b48e855 100644 --- a/boom-boot.spec +++ b/boom-boot.spec @@ -3,7 +3,7 @@ Name: boom-boot Version: 1.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{summary} License: GPLv2 @@ -25,6 +25,10 @@ BuildRequires: make Requires: python3-boom = %{version}-%{release} Requires: %{name}-conf = %{version}-%{release} +Obsoletes: boom-boot-grub2 <= 1.3 +# boom-grub2 was not an official name of subpackage in fedora, but was used upstream: +Obsoletes: boom-grub2 <= 1.3 + %package -n python3-boom Summary: %{summary} %{?python_provide:%python_provide python3-boom} @@ -32,10 +36,6 @@ Requires: %{__python3} Recommends: (lvm2 or brtfs-progs) Recommends: %{name}-conf = %{version}-%{release} -Obsoletes: boom-boot-grub2 <= 1.3 -# boom-grub2 was not an official name of subpackage in fedora, but was used upstream: -Obsoletes: boom-grub2 <= 1.3 - # There used to be a boom package in fedora, and there is boom packaged in # copr. How to tell which one is installed? We need python3-boom and no boom # only. @@ -92,12 +92,11 @@ rm -r doc/_build # Make configuration directories # mode 0700 - in line with /boot/grub2 directory: -#install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles +install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/hosts install -d -m 700 ${RPM_BUILD_ROOT}/boot/loader/entries install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/cache install -m 644 examples/boom.conf ${RPM_BUILD_ROOT}/boot/boom -#install -m 644 examples/profiles/*.profile ${RPM_BUILD_ROOT}/boot/boom/profiles mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8 mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man5 @@ -130,14 +129,16 @@ rm doc/conf.py %doc README.md %dir /boot/boom %config(noreplace) /boot/boom/boom.conf -#%%dir /boot/boom/profiles -#%%config(noreplace) /boot/boom/profiles/* +%dir /boot/boom/profiles %dir /boot/boom/hosts %dir /boot/boom/cache %dir /boot/loader/entries %changelog +* Tue May 24 2022 Marian Csontos 1.4-3 +- Fix missing /boot/boom/profiles directory. + * Tue May 24 2022 Marian Csontos 1.4-2 - Update gating.yaml.