From cb51938a80159614c9e58bb6ca6264b0cfc4b362 Mon Sep 17 00:00:00 2001 From: Martin Hoyer Date: Thu, 29 May 2025 17:27:17 +0200 Subject: [PATCH 1/4] Minor changes needed for EPEL10 --- beaker.spec | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/beaker.spec b/beaker.spec index 40af374..1bd3277 100644 --- a/beaker.spec +++ b/beaker.spec @@ -1,5 +1,5 @@ %global upstream_name beaker -%global with_docs 1 +%bcond_without docs Name: %{upstream_name} Version: 29.2 @@ -16,7 +16,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-devel BuildRequires: python3-docutils -%if 0%{with_docs} +%if %{with docs} BuildRequires: python3-sphinx BuildRequires: python3-sphinxcontrib-httpdomain %endif @@ -59,7 +59,7 @@ can use it to submit Beaker jobs, fetch results, and perform many other tasks. %prep %setup -q -n %{upstream_name}-%{version} -%if !0%{with_docs} +%if %{with docs} rm -rf documentation %endif # The server relies on a great many packages which are intended to be bundled @@ -73,11 +73,6 @@ export BKR_PY3=1 make %install -# RHEL 8 python3-nose removed unversioned executables -%if 0%{?rhel} >= 8 -ln -sf %{_bindir}/nosetests-%{python3_version} %{buildroot}/nosetests-3 -%endif - export BKR_PY3=1 DESTDIR=%{buildroot} make install @@ -110,7 +105,7 @@ find %{buildroot} -name '__pycache__' | xargs rm -rf %{python3_sitelib}/%{name}_client-%{version}-py%{python3_version}.egg-info/ %{_bindir}/%{name}-wizard %{_bindir}/bkr -%if 0%{with_docs} +%if %{without docs} %{_mandir}/man1/beaker-wizard.1.gz %{_mandir}/man1/bkr.1.gz %{_mandir}/man1/bkr-*.1.gz From a1f6ca9794dbf27d903b67e4ad170d39ae8fe696 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 11:00:02 +0200 Subject: [PATCH 2/4] Rebuilt for Python 3.14 --- beaker.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/beaker.spec b/beaker.spec index 40af374..78e2955 100644 --- a/beaker.spec +++ b/beaker.spec @@ -3,7 +3,7 @@ Name: %{upstream_name} Version: 29.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Full-stack software and hardware integration testing system License: GPL-2.0-or-later URL: https://beaker-project.org/ @@ -118,6 +118,9 @@ find %{buildroot} -name '__pycache__' | xargs rm -rf %{_datadir}/bash-completion %changelog +* Tue Jun 03 2025 Python Maint - 29.2-3 +- Rebuilt for Python 3.14 + * Mon May 26 2025 Martin Styk - 29.2-2 - Drop BSD license reference from License tag The file LabController/src/bkr/labcontroller/tback.py, originally from Django From 757797fe8e385de7eb14de165f1ed3c7a3dae6bf Mon Sep 17 00:00:00 2001 From: Martin Hoyer Date: Wed, 23 Jul 2025 12:54:32 +0200 Subject: [PATCH 3/4] Fixing docs build conditionals --- beaker.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/beaker.spec b/beaker.spec index e46c4c5..e074872 100644 --- a/beaker.spec +++ b/beaker.spec @@ -1,5 +1,6 @@ %global upstream_name beaker -%bcond_without docs +# No sphinxcontrib-httpdomain rpm on EPEL10 +%bcond docs %[ 0%{?fedora} || 0%{?rhel} < 10 ] Name: %{upstream_name} Version: 29.2 @@ -15,8 +16,8 @@ BuildArch: noarch BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-devel -BuildRequires: python3-docutils %if %{with docs} +BuildRequires: python3-docutils BuildRequires: python3-sphinx BuildRequires: python3-sphinxcontrib-httpdomain %endif @@ -59,8 +60,9 @@ can use it to submit Beaker jobs, fetch results, and perform many other tasks. %prep %setup -q -n %{upstream_name}-%{version} -%if %{with docs} +%if %{without docs} rm -rf documentation +sed -i '/SUBDIRS.*:=/s/\s*documentation\s*/ /g' Makefile %endif # The server relies on a great many packages which are intended to be bundled # source, and its documentation greatly inflates the number of BR packages @@ -105,7 +107,7 @@ find %{buildroot} -name '__pycache__' | xargs rm -rf %{python3_sitelib}/%{name}_client-%{version}-py%{python3_version}.egg-info/ %{_bindir}/%{name}-wizard %{_bindir}/bkr -%if %{without docs} +%if %{with docs} %{_mandir}/man1/beaker-wizard.1.gz %{_mandir}/man1/bkr.1.gz %{_mandir}/man1/bkr-*.1.gz From e5e6753133202f75051a39a9fa0607b413d0fcc1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:37:53 +0000 Subject: [PATCH 4/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- beaker.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/beaker.spec b/beaker.spec index e074872..61bda66 100644 --- a/beaker.spec +++ b/beaker.spec @@ -4,7 +4,7 @@ Name: %{upstream_name} Version: 29.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Full-stack software and hardware integration testing system License: GPL-2.0-or-later URL: https://beaker-project.org/ @@ -115,6 +115,9 @@ find %{buildroot} -name '__pycache__' | xargs rm -rf %{_datadir}/bash-completion %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 29.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Jun 03 2025 Python Maint - 29.2-3 - Rebuilt for Python 3.14