Update boom-boot to upstream version 1.6.8.

Resolves: RHEL-111711

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
This commit is contained in:
Bryn M. Reeves 2025-11-04 14:41:31 +00:00
parent 78b8cd044b
commit 0bd40675d0
4 changed files with 31 additions and 23 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/boom-1.6.0.tar.gz
/boom-1.6.1.tar.gz
/boom-boot-1.6.5.tar.gz
/boom-boot-1.6.8.tar.gz

View File

@ -0,0 +1,12 @@
diff -up boom-boot-1.6.8/pyproject.toml.orig boom-boot-1.6.8/pyproject.toml
--- boom-boot-1.6.8/pyproject.toml.orig 2025-11-04 17:39:34.159066461 +0000
+++ boom-boot-1.6.8/pyproject.toml 2025-11-04 17:39:46.440703634 +0000
@@ -26,7 +26,7 @@ Issues = "https://github.com/snapshotman
[build-system]
requires = [
- "setuptools>=61.0",
+ "setuptools>=53.0",
]
build-backend = "setuptools.build_meta"

View File

@ -2,19 +2,20 @@
%global sphinx_docs 1
Name: boom-boot
Version: 1.6.5
Version: 1.6.8
Release: 1%{?dist}
Summary: %{summary}
License: GPL-2.0-only
License: Apache-2.0
URL: https://github.com/snapshotmanager/boom-boot
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch1: boom-boot-1.6.8-setuptools-minver.patch
BuildArch: noarch
BuildRequires: make
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: python3-pytest
%if 0%{?sphinx_docs}
BuildRequires: python3-dbus
BuildRequires: python3-sphinx
@ -76,6 +77,9 @@ This package provides configuration files for boom.
%prep
%autosetup -p1 -n %{name}-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%if 0%{?sphinx_docs}
make %{?_smp_mflags} -C doc html
@ -84,18 +88,10 @@ mv doc/_build/html doc/html
rm -r doc/_build
%endif
%if 0%{?centos} || 0%{?rhel}
%py3_build
%else
%pyproject_wheel
%endif
%install
%if 0%{?centos} || 0%{?rhel}
%py3_install
%else
%pyproject_install
%endif
# Make configuration directories
# mode 0700 - in line with /boot/grub2 directory:
@ -113,31 +109,26 @@ 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
%check
%pytest --log-level=debug -v tests/
%files
%license COPYING
%license LICENSE
%doc README.md
%{_bindir}/boom
%doc %{_mandir}/man*/boom.*
%files -n python3-boom
%license COPYING
%license LICENSE
%doc README.md
%{python3_sitelib}/boom/
%if 0%{?centos} || 0%{?rhel}
%{python3_sitelib}/boom*.egg-info/
%else
%{python3_sitelib}/boom/*
%{python3_sitelib}/boom*.dist-info/
%endif
%doc doc
%doc examples
%doc tests
%files conf
%license COPYING
%license LICENSE
%doc README.md
%dir /boot/boom
%config(noreplace) /boot/boom/boom.conf
@ -148,6 +139,10 @@ rm doc/conf.py
%changelog
* Tue Nov 04 2025 Bryn M. Reeves <bmr@redhat.com> - 1.6.8-1
- Update to release 1.6.8
- Resolves: RHEL-111711
* Fri Dec 13 2024 Bryn M. Reeves <bmr@redhat.com> - 1.6.5-1
- Update to release 1.6.5.
- Resolves: RHEL-59512

View File

@ -1 +1 @@
SHA512 (boom-boot-1.6.5.tar.gz) = a3960b2c70707ff03354b831a859813a29376cc1f0e2db5132797ed29944888df9932b38092081e7eca7d40d7c9dd98817720261a6005ff7c20e733d1f01ca82
SHA512 (boom-boot-1.6.8.tar.gz) = c518d90c1fba33f992a9ae7e800f0646b76ec6f58c24a4388609c5d616ebe2f78cdbd79e46e63a6714eef723bf6edf65c0c1d08effa96062d9f3025db735ce58