2018-07-17 07:46:48 +00:00
|
|
|
%global summary A set of libraries and tools for managing boot loader entries
|
|
|
|
%global sphinx_docs 1
|
|
|
|
|
|
|
|
Name: boom-boot
|
2023-05-16 12:00:16 +00:00
|
|
|
Version: 1.5.1
|
|
|
|
Release: 1%{?dist}
|
2018-07-17 07:46:48 +00:00
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
License: GPLv2
|
2019-12-03 09:41:38 +00:00
|
|
|
URL: https://github.com/snapshotmanager/boom
|
|
|
|
Source0: https://github.com/snapshotmanager/boom/archive/%{version}/boom-%{version}.tar.gz
|
2022-05-23 16:10:17 +00:00
|
|
|
Patch1: 0001-man-Fix-line-starting-with.patch
|
2023-05-16 12:00:16 +00:00
|
|
|
Patch2: 0001-Fix-typos-across-tree.patch
|
|
|
|
Patch3: 0002-Fix-system-vs.-project-import-ordering.patch
|
|
|
|
Patch4: 0003-boom-fix-unclosed-file-warning-for-proc-cmdline.patch
|
2018-07-17 07:46:48 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-05-23 16:10:17 +00:00
|
|
|
BuildRequires: make
|
2018-07-17 07:46:48 +00:00
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
%if 0%{?sphinx_docs}
|
2022-05-23 16:10:17 +00:00
|
|
|
BuildRequires: python3-dbus
|
2018-07-17 07:46:48 +00:00
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
%endif
|
2020-12-19 04:16:22 +00:00
|
|
|
BuildRequires: make
|
2018-07-17 07:46:48 +00:00
|
|
|
|
2019-05-09 10:36:40 +00:00
|
|
|
Requires: python3-boom = %{version}-%{release}
|
|
|
|
Requires: %{name}-conf = %{version}-%{release}
|
2018-07-17 07:46:48 +00:00
|
|
|
|
2022-05-23 16:10:17 +00:00
|
|
|
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
|
|
|
|
|
2018-07-17 07:46:48 +00:00
|
|
|
%package -n python3-boom
|
|
|
|
Summary: %{summary}
|
|
|
|
%{?python_provide:%python_provide python3-boom}
|
2019-12-03 09:41:38 +00:00
|
|
|
Requires: %{__python3}
|
2018-07-17 07:46:48 +00:00
|
|
|
Recommends: (lvm2 or brtfs-progs)
|
2019-05-09 10:36:40 +00:00
|
|
|
Recommends: %{name}-conf = %{version}-%{release}
|
2018-07-17 07:46:48 +00:00
|
|
|
|
|
|
|
# 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.
|
|
|
|
Conflicts: boom
|
|
|
|
|
|
|
|
%package conf
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Boom is a boot manager for Linux systems using boot loaders that support
|
|
|
|
the BootLoader Specification for boot entry configuration.
|
|
|
|
|
|
|
|
Boom requires a BLS compatible boot loader to function: either the
|
|
|
|
systemd-boot project, or Grub2 with the BLS patch (Red Hat Grub2 builds
|
|
|
|
include this support in both Red Hat Enterprise Linux 7 and Fedora).
|
|
|
|
|
|
|
|
%description -n python3-boom
|
|
|
|
Boom is a boot manager for Linux systems using boot loaders that support
|
|
|
|
the BootLoader Specification for boot entry configuration.
|
|
|
|
|
|
|
|
Boom requires a BLS compatible boot loader to function: either the
|
|
|
|
systemd-boot project, or Grub2 with the BLS patch (Red Hat Grub2 builds
|
|
|
|
include this support in both Red Hat Enterprise Linux 7 and Fedora).
|
|
|
|
|
|
|
|
This package provides python3 boom module.
|
|
|
|
|
|
|
|
%description conf
|
|
|
|
Boom is a boot manager for Linux systems using boot loaders that support
|
|
|
|
the BootLoader Specification for boot entry configuration.
|
|
|
|
|
|
|
|
Boom requires a BLS compatible boot loader to function: either the
|
|
|
|
systemd-boot project, or Grub2 with the BLS patch (Red Hat Grub2 builds
|
|
|
|
include this support in both Red Hat Enterprise Linux 7 and Fedora).
|
|
|
|
|
|
|
|
This package provides configuration files for boom.
|
|
|
|
|
|
|
|
%prep
|
2023-05-16 12:00:16 +00:00
|
|
|
%autosetup -p1 -n boom-%{version}
|
2018-07-17 07:46:48 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%if 0%{?sphinx_docs}
|
|
|
|
make -C doc html
|
|
|
|
rm doc/_build/html/.buildinfo
|
|
|
|
mv doc/_build/html doc/html
|
|
|
|
rm -r doc/_build
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
# Make configuration directories
|
|
|
|
# mode 0700 - in line with /boot/grub2 directory:
|
|
|
|
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles
|
2019-05-09 10:36:40 +00:00
|
|
|
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/hosts
|
2018-07-17 07:46:48 +00:00
|
|
|
install -d -m 700 ${RPM_BUILD_ROOT}/boot/loader/entries
|
2020-05-14 12:53:28 +00:00
|
|
|
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/cache
|
2018-07-17 07:46:48 +00:00
|
|
|
install -m 644 examples/boom.conf ${RPM_BUILD_ROOT}/boot/boom
|
2022-05-23 16:10:17 +00:00
|
|
|
#install -m 644 examples/profiles/*.profile ${RPM_BUILD_ROOT}/boot/boom/profiles
|
2018-07-17 07:46:48 +00:00
|
|
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man5
|
|
|
|
install -m 644 man/man8/boom.8 ${RPM_BUILD_ROOT}/%{_mandir}/man8
|
|
|
|
install -m 644 man/man5/boom.5 ${RPM_BUILD_ROOT}/%{_mandir}/man5
|
|
|
|
|
|
|
|
rm doc/Makefile
|
|
|
|
rm doc/conf.py
|
|
|
|
|
|
|
|
# Test suite currently does not operate in rpmbuild environment
|
|
|
|
#%%check
|
|
|
|
#%%{__python3} setup.py test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/boom
|
|
|
|
%doc %{_mandir}/man*/boom.*
|
|
|
|
|
|
|
|
%files -n python3-boom
|
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
%doc doc
|
|
|
|
%doc examples
|
|
|
|
%doc tests
|
|
|
|
|
|
|
|
%files conf
|
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
|
|
|
%dir /boot/boom
|
|
|
|
%config(noreplace) /boot/boom/boom.conf
|
|
|
|
%dir /boot/boom/profiles
|
2019-05-09 10:21:15 +00:00
|
|
|
%dir /boot/boom/hosts
|
2020-05-14 12:53:28 +00:00
|
|
|
%dir /boot/boom/cache
|
2018-07-17 07:46:48 +00:00
|
|
|
%dir /boot/loader/entries
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-05-16 12:00:16 +00:00
|
|
|
* Tue May 16 2023 Marian Csontos <mcsontos@redhat.com> - 1.5.1-1
|
|
|
|
- Update to release 1.5.1.
|
|
|
|
|
2023-01-18 23:04:42 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-20 22:10:52 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-05-23 16:10:17 +00:00
|
|
|
* Wed Jul 13 2022 Marian Csontos <mcsontos@redhat.com> 1.4-1
|
|
|
|
- Update to release 1.4.
|
|
|
|
|
2022-06-13 16:18:19 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.3-5
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-01-19 22:31:21 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 18:47:54 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-04 18:00:30 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.3-2
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-01-29 15:12:01 +00:00
|
|
|
* Fri Jan 29 2021 Marian Csontos <mcsontos@redhat.com> 1.3-1
|
|
|
|
- Update to release 1.3.
|
|
|
|
|
2021-01-26 01:19:06 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 13:19:02 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-07 12:24:09 +00:00
|
|
|
* Sun Jun 07 2020 Marian Csontos <mcsontos@redhat.com> 1.2-1
|
|
|
|
- Update to bug fix release 1.2.
|
|
|
|
|
2020-05-26 16:45:47 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1-4
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-26 13:43:30 +00:00
|
|
|
* Tue May 26 2020 Marian Csontos <mcsontos@redhat.com> 1.1-3
|
|
|
|
- Fix unicode entries handling.
|
|
|
|
- Add tracebacks when --debug is used.
|
|
|
|
|
2020-05-26 00:41:40 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1-2
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-14 12:53:28 +00:00
|
|
|
* Thu May 14 2020 Marian Csontos <mcsontos@redhat.com> 1.1-1
|
|
|
|
- Update to new upstream release 1.1.
|
|
|
|
- Add caching of kernel and init ramdisk images.
|
|
|
|
|
2020-01-28 13:12:06 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-20 14:04:38 +00:00
|
|
|
* Mon Jan 20 2020 Marian Csontos <mcsontos@redhat.com> 1.0-1
|
2019-12-03 09:41:38 +00:00
|
|
|
- Update to new upstream release 1.0.
|
|
|
|
|
2019-10-03 11:51:08 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-0.5.20190329git6ff3e08
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:10:48 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-0.4.20190329git6ff3e08
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-24 19:29:58 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.3.20190329git6ff3e08
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-09 10:36:40 +00:00
|
|
|
* Thu May 09 2019 Marian Csontos <mcsontos@redhat.com> 1.0-0.2.20190329git6ff3e08
|
|
|
|
- Fix packaging issues.
|
|
|
|
|
2019-05-09 10:21:15 +00:00
|
|
|
* Thu May 09 2019 Marian Csontos <mcsontos@redhat.com> 1.0-0.1.20190329git6ff3e08
|
|
|
|
- Pre-release of new version.
|
|
|
|
|
2019-01-31 14:50:13 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-17 07:46:48 +00:00
|
|
|
* Tue Jul 17 2018 Marian Csontos <mcsontos@redhat.com> 0.9-4
|
|
|
|
- Change dependencies.
|
|
|
|
|
|
|
|
* Mon Jul 16 2018 Marian Csontos <mcsontos@redhat.com> 0.9-3
|
|
|
|
- Split executable, python module and configuration.
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Marian Csontos <mcsontos@redhat.com> 0.9-2
|
|
|
|
- Spin off grub2 into subpackage
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Marian Csontos <mcsontos@redhat.com> 0.9-1
|
|
|
|
- Update to new upstream 0.9.
|
|
|
|
- Fix boot_id caching.
|
|
|
|
|
|
|
|
* Fri Jun 08 2018 Marian Csontos <mcsontos@redhat.com> 0.8.5-6.2
|
|
|
|
- Remove example files from /boot/boom/profiles.
|
|
|
|
|
|
|
|
* Fri May 11 2018 Marian Csontos <mcsontos@redhat.com> 0.8.5-6.1
|
|
|
|
- Files in /boot are treated as configuration files.
|
|
|
|
|
|
|
|
* Thu Apr 26 2018 Marian Csontos <mcsontos@redhat.com> 0.8.5-6
|
|
|
|
- Package upstream version 0.8-5.6
|
|
|
|
|