|
|
171289 |
%global summary A set of libraries and tools for managing boot loader entries
|
|
|
171289 |
%global sphinx_docs 1
|
|
|
171289 |
|
|
|
171289 |
Name: boom-boot
|
|
|
f44195 |
Version: 1.4
|
|
|
f44195 |
Release: 4%{?dist}
|
|
|
171289 |
Summary: %{summary}
|
|
|
171289 |
|
|
|
171289 |
License: GPLv2
|
|
|
171289 |
URL: https://github.com/snapshotmanager/boom
|
|
|
171289 |
Source0: https://github.com/snapshotmanager/boom/archive/%{version}/boom-%{version}.tar.gz
|
|
|
f44195 |
Patch1: 0001-man-Fix-line-starting-with.patch
|
|
|
f44195 |
# Minor improvements:
|
|
|
f44195 |
Patch2: 0002-boom.bootloader-initialise-_last_path-before-parsing.patch
|
|
|
f44195 |
Patch3: 0003-boom.bootloader-improve-warning-for-entries-with-no-.patch
|
|
|
f44195 |
# BZ 2096447:
|
|
|
f44195 |
Patch4: 0004-boom.bootloader-do-not-allow-deletion-of-read-only-b.patch
|
|
|
f44195 |
# BZ 2096368:
|
|
|
f44195 |
Patch5: 0005-boom.command-add-new-os-release-values-to-Red-Hat-op.patch
|
|
|
171289 |
|
|
|
171289 |
BuildArch: noarch
|
|
|
171289 |
|
|
|
f44195 |
BuildRequires: make
|
|
|
171289 |
BuildRequires: python3-setuptools
|
|
|
171289 |
BuildRequires: python3-devel
|
|
|
171289 |
%if 0%{?sphinx_docs}
|
|
|
f44195 |
BuildRequires: python3-dbus
|
|
|
171289 |
BuildRequires: python3-sphinx
|
|
|
171289 |
%endif
|
|
|
171289 |
BuildRequires: make
|
|
|
171289 |
|
|
|
171289 |
Requires: python3-boom = %{version}-%{release}
|
|
|
171289 |
Requires: %{name}-conf = %{version}-%{release}
|
|
|
171289 |
|
|
|
f44195 |
Obsoletes: boom-boot-grub2 <= 1.3
|
|
|
f44195 |
# boom-grub2 was not an official name of subpackage in fedora, but was used upstream:
|
|
|
f44195 |
Obsoletes: boom-grub2 <= 1.3
|
|
|
f44195 |
|
|
|
171289 |
%package -n python3-boom
|
|
|
171289 |
Summary: %{summary}
|
|
|
171289 |
%{?python_provide:%python_provide python3-boom}
|
|
|
171289 |
Requires: %{__python3}
|
|
|
171289 |
Recommends: (lvm2 or brtfs-progs)
|
|
|
171289 |
Recommends: %{name}-conf = %{version}-%{release}
|
|
|
171289 |
|
|
|
171289 |
# There used to be a boom package in fedora, and there is boom packaged in
|
|
|
171289 |
# copr. How to tell which one is installed? We need python3-boom and no boom
|
|
|
171289 |
# only.
|
|
|
171289 |
Conflicts: boom
|
|
|
171289 |
|
|
|
171289 |
%package conf
|
|
|
171289 |
Summary: %{summary}
|
|
|
171289 |
|
|
|
171289 |
%description
|
|
|
171289 |
Boom is a boot manager for Linux systems using boot loaders that support
|
|
|
171289 |
the BootLoader Specification for boot entry configuration.
|
|
|
171289 |
|
|
|
171289 |
Boom requires a BLS compatible boot loader to function: either the
|
|
|
171289 |
systemd-boot project, or Grub2 with the BLS patch (Red Hat Grub2 builds
|
|
|
171289 |
include this support in both Red Hat Enterprise Linux 7 and Fedora).
|
|
|
171289 |
|
|
|
171289 |
%description -n python3-boom
|
|
|
171289 |
Boom is a boot manager for Linux systems using boot loaders that support
|
|
|
171289 |
the BootLoader Specification for boot entry configuration.
|
|
|
171289 |
|
|
|
171289 |
Boom requires a BLS compatible boot loader to function: either the
|
|
|
171289 |
systemd-boot project, or Grub2 with the BLS patch (Red Hat Grub2 builds
|
|
|
171289 |
include this support in both Red Hat Enterprise Linux 7 and Fedora).
|
|
|
171289 |
|
|
|
171289 |
This package provides python3 boom module.
|
|
|
171289 |
|
|
|
171289 |
%description conf
|
|
|
171289 |
Boom is a boot manager for Linux systems using boot loaders that support
|
|
|
171289 |
the BootLoader Specification for boot entry configuration.
|
|
|
171289 |
|
|
|
171289 |
Boom requires a BLS compatible boot loader to function: either the
|
|
|
171289 |
systemd-boot project, or Grub2 with the BLS patch (Red Hat Grub2 builds
|
|
|
171289 |
include this support in both Red Hat Enterprise Linux 7 and Fedora).
|
|
|
171289 |
|
|
|
171289 |
This package provides configuration files for boom.
|
|
|
171289 |
|
|
|
171289 |
%prep
|
|
|
171289 |
%setup -n boom-%{version}
|
|
|
171289 |
# NOTE: Do not use backup extension - MANIFEST.in is picking them
|
|
|
171289 |
%patch1 -p1
|
|
|
171289 |
%patch2 -p1
|
|
|
f44195 |
%patch3 -p1
|
|
|
f44195 |
%patch4 -p1
|
|
|
f44195 |
%patch5 -p1
|
|
|
171289 |
|
|
|
171289 |
%build
|
|
|
171289 |
%if 0%{?sphinx_docs}
|
|
|
171289 |
make -C doc html
|
|
|
171289 |
rm doc/_build/html/.buildinfo
|
|
|
171289 |
mv doc/_build/html doc/html
|
|
|
171289 |
rm -r doc/_build
|
|
|
171289 |
%endif
|
|
|
171289 |
|
|
|
171289 |
%py3_build
|
|
|
171289 |
|
|
|
171289 |
%install
|
|
|
171289 |
%py3_install
|
|
|
171289 |
|
|
|
171289 |
# Make configuration directories
|
|
|
171289 |
# mode 0700 - in line with /boot/grub2 directory:
|
|
|
171289 |
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles
|
|
|
171289 |
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/hosts
|
|
|
171289 |
install -d -m 700 ${RPM_BUILD_ROOT}/boot/loader/entries
|
|
|
171289 |
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/cache
|
|
|
171289 |
install -m 644 examples/boom.conf ${RPM_BUILD_ROOT}/boot/boom
|
|
|
171289 |
|
|
|
171289 |
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8
|
|
|
171289 |
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man5
|
|
|
171289 |
install -m 644 man/man8/boom.8 ${RPM_BUILD_ROOT}/%{_mandir}/man8
|
|
|
171289 |
install -m 644 man/man5/boom.5 ${RPM_BUILD_ROOT}/%{_mandir}/man5
|
|
|
171289 |
|
|
|
171289 |
rm doc/Makefile
|
|
|
171289 |
rm doc/conf.py
|
|
|
171289 |
|
|
|
171289 |
# Test suite currently does not operate in rpmbuild environment
|
|
|
171289 |
#%%check
|
|
|
171289 |
#%%{__python3} setup.py test
|
|
|
171289 |
|
|
|
171289 |
%files
|
|
|
171289 |
%license COPYING
|
|
|
171289 |
%doc README.md
|
|
|
171289 |
%{_bindir}/boom
|
|
|
171289 |
%doc %{_mandir}/man*/boom.*
|
|
|
171289 |
|
|
|
171289 |
%files -n python3-boom
|
|
|
171289 |
%license COPYING
|
|
|
171289 |
%doc README.md
|
|
|
171289 |
%{python3_sitelib}/*
|
|
|
171289 |
%doc doc
|
|
|
171289 |
%doc examples
|
|
|
171289 |
%doc tests
|
|
|
171289 |
|
|
|
171289 |
%files conf
|
|
|
171289 |
%license COPYING
|
|
|
171289 |
%doc README.md
|
|
|
171289 |
%dir /boot/boom
|
|
|
171289 |
%config(noreplace) /boot/boom/boom.conf
|
|
|
171289 |
%dir /boot/boom/profiles
|
|
|
171289 |
%dir /boot/boom/hosts
|
|
|
171289 |
%dir /boot/boom/cache
|
|
|
171289 |
%dir /boot/loader/entries
|
|
|
171289 |
|
|
|
171289 |
|
|
|
171289 |
%changelog
|
|
|
f44195 |
* Wed Jul 13 2022 Marian Csontos <mcsontos@redhat.com> 1.4-4
|
|
|
f44195 |
- Fix handling of read-only entries.
|
|
|
f44195 |
- Add OS names for recent versions.
|
|
|
f44195 |
|
|
|
f44195 |
* Tue May 24 2022 Marian Csontos <mcsontos@redhat.com> 1.4-3
|
|
|
f44195 |
- Fix missing /boot/boom/profiles directory.
|
|
|
f44195 |
|
|
|
f44195 |
* Tue May 24 2022 Marian Csontos <mcsontos@redhat.com> 1.4-2
|
|
|
f44195 |
- Update gating.yaml.
|
|
|
f44195 |
|
|
|
f44195 |
* Mon May 23 2022 Marian Csontos <mcsontos@redhat.com> 1.4-1
|
|
|
f44195 |
- Update to release 1.4.
|
|
|
f44195 |
|
|
|
f44195 |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
|
|
|
f44195 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
f44195 |
|
|
|
f44195 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
|
|
|
f44195 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
171289 |
|
|
|
f44195 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.3-2
|
|
|
f44195 |
- Rebuilt for Python 3.10
|
|
|
171289 |
|
|
|
171289 |
* Fri Jan 29 2021 Marian Csontos <mcsontos@redhat.com> 1.3-1
|
|
|
171289 |
- Update to release 1.3.
|
|
|
171289 |
|
|
|
171289 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
|
|
|
171289 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
171289 |
|
|
|
171289 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
171289 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
171289 |
|
|
|
171289 |
* Sun Jun 07 2020 Marian Csontos <mcsontos@redhat.com> 1.2-1
|
|
|
171289 |
- Update to bug fix release 1.2.
|
|
|
171289 |
|
|
|
171289 |
* Tue May 26 2020 Miro Hron훾ok <mhroncok@redhat.com> - 1.1-4
|
|
|
171289 |
- Rebuilt for Python 3.9
|
|
|
171289 |
|
|
|
171289 |
* Tue May 26 2020 Marian Csontos <mcsontos@redhat.com> 1.1-3
|
|
|
171289 |
- Fix unicode entries handling.
|
|
|
171289 |
- Add tracebacks when --debug is used.
|
|
|
171289 |
|
|
|
171289 |
* Tue May 26 2020 Miro Hron훾ok <mhroncok@redhat.com> - 1.1-2
|
|
|
171289 |
- Rebuilt for Python 3.9
|
|
|
171289 |
|
|
|
171289 |
* Thu May 14 2020 Marian Csontos <mcsontos@redhat.com> 1.1-1
|
|
|
171289 |
- Update to new upstream release 1.1.
|
|
|
171289 |
- Add caching of kernel and init ramdisk images.
|
|
|
171289 |
|
|
|
171289 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
|
|
171289 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
171289 |
|
|
|
171289 |
* Mon Jan 20 2020 Marian Csontos <mcsontos@redhat.com> 1.0-1
|
|
|
171289 |
- Update to new upstream release 1.0.
|
|
|
171289 |
|
|
|
171289 |
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.0-0.5.20190329git6ff3e08
|
|
|
171289 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
171289 |
|
|
|
171289 |
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.0-0.4.20190329git6ff3e08
|
|
|
171289 |
- Rebuilt for Python 3.8
|
|
|
171289 |
|
|
|
171289 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.3.20190329git6ff3e08
|
|
|
171289 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
171289 |
|
|
|
171289 |
* Thu May 09 2019 Marian Csontos <mcsontos@redhat.com> 1.0-0.2.20190329git6ff3e08
|
|
|
171289 |
- Fix packaging issues.
|
|
|
171289 |
|
|
|
171289 |
* Thu May 09 2019 Marian Csontos <mcsontos@redhat.com> 1.0-0.1.20190329git6ff3e08
|
|
|
171289 |
- Pre-release of new version.
|
|
|
171289 |
|
|
|
171289 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
|
171289 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
171289 |
|
|
|
171289 |
* Tue Jul 17 2018 Marian Csontos <mcsontos@redhat.com> 0.9-4
|
|
|
171289 |
- Change dependencies.
|
|
|
171289 |
|
|
|
171289 |
* Mon Jul 16 2018 Marian Csontos <mcsontos@redhat.com> 0.9-3
|
|
|
171289 |
- Split executable, python module and configuration.
|
|
|
171289 |
|
|
|
171289 |
* Wed Jun 27 2018 Marian Csontos <mcsontos@redhat.com> 0.9-2
|
|
|
171289 |
- Spin off grub2 into subpackage
|
|
|
171289 |
|
|
|
171289 |
* Wed Jun 27 2018 Marian Csontos <mcsontos@redhat.com> 0.9-1
|
|
|
171289 |
- Update to new upstream 0.9.
|
|
|
171289 |
- Fix boot_id caching.
|
|
|
171289 |
|
|
|
171289 |
* Fri Jun 08 2018 Marian Csontos <mcsontos@redhat.com> 0.8.5-6.2
|
|
|
171289 |
- Remove example files from /boot/boom/profiles.
|
|
|
171289 |
|
|
|
171289 |
* Fri May 11 2018 Marian Csontos <mcsontos@redhat.com> 0.8.5-6.1
|
|
|
171289 |
- Files in /boot are treated as configuration files.
|
|
|
171289 |
|
|
|
171289 |
* Thu Apr 26 2018 Marian Csontos <mcsontos@redhat.com> 0.8.5-6
|
|
|
171289 |
- Package upstream version 0.8-5.6
|
|
|
171289 |
|