Update boom-boot to upstream version 1.6.8.

Resolves: RHEL-111710

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 fe9225ee9d
commit 92a38d3382
3 changed files with 18 additions and 25 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/boom-1.6.1.tar.gz
/boom-1.6.3.tar.gz
/boom-boot-1.6.5.tar.gz
/boom-boot-1.6.8.tar.gz

View File

@ -2,21 +2,19 @@
%global sphinx_docs 1
Name: boom-boot
Version: 1.6.5
Release: 3%{?dist}
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
BuildArch: noarch
BuildRequires: make
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pytest
%if 0%{?sphinx_docs}
BuildRequires: python3-dbus
BuildRequires: python3-sphinx
@ -82,6 +80,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
@ -90,18 +91,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:
@ -119,31 +112,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*.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
@ -154,6 +142,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-111710
* Fri Dec 13 2024 Bryn M. Reeves <bmr@redhat.com> - 1.6.5-1
- Update to release 1.6.5
- Resolves: RHEL-59511

View File

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