Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
e5e6753133 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:37:53 +00:00
Martin Hoyer
757797fe8e Fixing docs build conditionals 2025-07-23 17:05:30 +02:00
Jindrich Novy
cd652ba806 Merge #1 Minor changes needed for EPEL10 2025-07-22 13:57:04 +00:00
Python Maint
a1f6ca9794 Rebuilt for Python 3.14 2025-06-03 11:00:02 +02:00
Martin Hoyer
cb51938a80 Minor changes needed for EPEL10 2025-05-29 17:27:17 +02:00

View file

@ -1,9 +1,10 @@
%global upstream_name beaker
%global with_docs 1
# No sphinxcontrib-httpdomain rpm on EPEL10
%bcond docs %[ 0%{?fedora} || 0%{?rhel} < 10 ]
Name: %{upstream_name}
Version: 29.2
Release: 2%{?dist}
Release: 4%{?dist}
Summary: Full-stack software and hardware integration testing system
License: GPL-2.0-or-later
URL: https://beaker-project.org/
@ -15,8 +16,8 @@ BuildArch: noarch
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-devel
%if %{with docs}
BuildRequires: python3-docutils
%if 0%{with_docs}
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 !0%{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
@ -73,11 +75,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 +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 0%{with_docs}
%if %{with docs}
%{_mandir}/man1/beaker-wizard.1.gz
%{_mandir}/man1/bkr.1.gz
%{_mandir}/man1/bkr-*.1.gz
@ -118,6 +115,12 @@ find %{buildroot} -name '__pycache__' | xargs rm -rf
%{_datadir}/bash-completion
%changelog
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 29.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 29.2-3
- Rebuilt for Python 3.14
* Mon May 26 2025 Martin Styk <mart.styk@gmail.com> - 29.2-2
- Drop BSD license reference from License tag
The file LabController/src/bkr/labcontroller/tback.py, originally from Django