parent
737e8fe18b
commit
4771d407e0
|
@ -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 <mcsontos@redhat.com> 1.4-3
|
||||
- Fix missing /boot/boom/profiles directory.
|
||||
|
||||
* Tue May 24 2022 Marian Csontos <mcsontos@redhat.com> 1.4-2
|
||||
- Update gating.yaml.
|
||||
|
||||
|
|
Loading…
Reference in New Issue