## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname jenkins-job-builder Name: python-%{srcname} Version: 6.4.1 Release: %autorelease # Someone thought that 2.0.0.0b3 < 2.0.0 Epoch: 1 Summary: Manage Jenkins jobs with YAML License: Apache-2.0 URL: https://jenkins-job-builder.readthedocs.io/en/latest/ Source: %{pypi_source} # Allow building against the `setuptools` version shipped by Fedora Patch: 0001-Fix-the-build-with-setuptools-71.patch # Fix compatibility with Python 3.13. # Upstream patch: https://review.opendev.org/c/jjb/jenkins-job-builder/+/930634 Patch: 0002-Make-unit-tests-compatible-with-Python-3.13.patch BuildArch: noarch %description Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML format and uses them to configure Jenkins. You can keep your job descriptions in human readable text format in a version control system to make changes and auditing easier. It also has a flexible template system, so creating many similarly configured jobs is easy. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel # test-requirements.txt BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-mock) BuildRequires: python3dist(testtools) >= 1.4 # Explicitly require a version of python3-jenkins that includes the patch from # https://src.fedoraproject.org/rpms/python-jenkins/pull-request/1 Requires: python3dist(python-jenkins) >= 1.8 %description -n python3-%{srcname} Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML format and uses them to configure Jenkins. You can keep your job descriptions in human readable text format in a version control system to make changes and auditing easier. It also has a flexible template system, so creating many similarly configured jobs is easy. %prep %autosetup -n %{srcname}-%{version}%{?pre} -p1 rm -vr *.egg-info/ %generate_buildrequires %pyproject_buildrequires %build export PBR_VERSION=%{version} %pyproject_wheel %install %pyproject_install %pyproject_save_files jenkins_jobs %check %pytest %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %{_bindir}/jenkins-jobs %changelog ## START: Generated by rpmautospec * Fri Nov 08 2024 Christoph Erhardt - 1:6.4.1-4 - Fix the build with setuptools >= 71 (#2319668) * Thu Sep 26 2024 Christoph Erhardt - 1:6.4.1-1 - Update to 6.4.1 (#2297146) * Fri Jul 19 2024 Fedora Release Engineering - 1:6.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue May 07 2024 Fedora Release Monitoring - 1:6.3.0-1 - Update to 6.3.0 (#2279611) * Tue Mar 26 2024 Fedora Release Monitoring - 1:6.2.0-1 - Update to 6.2.0 (#2270278) * Tue Mar 19 2024 Fedora Release Monitoring - 1:6.1.0-1 - Update to 6.1.0 (#2270278) * Mon Mar 04 2024 Christoph Erhardt - 1:6.0.0-1 - Update to 6.0.0 (rhbz#2259846) - Drop upstreamed patch * Fri Jan 26 2024 Fedora Release Engineering - 1:5.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1:5.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 21 2023 Christoph Erhardt - 1:5.0.4-2 - Fix explicit `Requires:` line (rhbz#2232970, rhbz#2232983) * Sun Aug 20 2023 Christoph Erhardt - 1:5.0.4-1 - Update to 5.0.4 (rhbz#2219565) - Fix compatibility with setuptools >= 66 * Fri Jul 21 2023 Fedora Release Engineering - 1:5.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Apr 17 2023 Christoph Erhardt - 1:5.0.2-1 - Update to 5.0.2 (rhbz#2187243) * Wed Apr 12 2023 Christoph Erhardt - 1:5.0.1-1 - Update to 5.0.1 (rhbz#2186133) * Wed Mar 01 2023 Christoph Erhardt - 1:4.3.0-1 - Update to 4.3.0 (rhbz#2173887) * Fri Jan 20 2023 Fedora Release Engineering - 1:4.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Nov 12 2022 Christoph Erhardt - 1:4.1.0-4 - Migrate to SPDX license identifier * Fri Jul 22 2022 Fedora Release Engineering - 1:4.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Python Maint - 1:4.1.0-2 - Rebuilt for Python 3.11 * Tue May 17 2022 Christoph Erhardt - 1:4.1.0-1 - Update to 4.1.0 - Drop upstreamed patch * Wed May 11 2022 Christoph Erhardt - 1:4.0.0-1 - Update to 4.0.0 - Relax version dependency on PyYAML - Use modern RPM macros * Fri Jan 21 2022 Fedora Release Engineering - 1:3.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1:3.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1:3.8.0-2 - Rebuilt for Python 3.10 * Thu Feb 04 2021 Ken Dreyer - 1:3.8.0-1 - Update to 3.8.0 (rhbz#1917500) * Wed Jan 27 2021 Fedora Release Engineering - 1:3.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 13 2020 Ken Dreyer 1:3.7.0-1 - Update to 3.7.0 (rhbz#1882766) * Fri Aug 28 2020 Ken Dreyer - 1:3.5.0-2 - Run tests with stestr (rhbz#1865296) * Fri Aug 07 2020 Ken Dreyer 1:3.5.0-1 - Update to 3.5.0 (rhbz#1809853) - Drop upstreamed patches * Sat Aug 01 2020 Fedora Release Engineering - 1:3.2.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1:3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1:3.2.0-2 - Rebuilt for Python 3.9 * Wed Feb 05 2020 Ken Dreyer 1:3.2.0-1 - Update to 3.2.0 (rhbz#1596891) - Cherry-pick patches for py38 compat (rhbz#1706223) * Thu Jan 30 2020 Fedora Release Engineering - 1:3.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 16 2019 Miro Hrončok - 1:3.0.1-2 - Rebuilt for Python 3.8 * Tue Jul 30 2019 Igor Gnatenko - 1:3.0.1-1 - Update to 3.0.1 * Sat Jul 27 2019 Igor Gnatenko - 1:3.0.0-1 - Update to 3.0.0 * Fri Jul 26 2019 Fedora Release Engineering - 1:2.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 20 2019 Miro Hrončok - 1:2.1.0-4 - Subpackage python2-jenkins-job-builder has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Tue Apr 30 2019 Igor Gnatenko - 1:2.1.0-3 - Drop sphinx BRs (docs are not built) * Sat Feb 02 2019 Fedora Release Engineering - 1:2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jul 18 2018 Ken Dreyer 1:2.1.0-1 - Update to 2.1.0 (rhbz#1596891) - Patch to Revert "Constrain PyYAML to v3.x." * Sat Jul 14 2018 Fedora Release Engineering - 1:2.0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1:2.0.10-2 - Rebuilt for Python 3.7 * Sat Jun 16 2018 Ken Dreyer 1:2.0.10-1 - Update to 2.0.10 (rhbz#1591993) * Fri Jun 01 2018 Ken Dreyer 1:2.0.9-1 - Update to 2.0.9 (rhbz#1575169) * Wed Apr 25 2018 Ken Dreyer - 1:2.0.6-1 - Update to 2.0.6 (rhbz#1539219) * Fri Feb 09 2018 Fedora Release Engineering - 1:2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 17 2018 Igor Gnatenko - 2.0.0-1 - Update to 2.0.0 * Thu Aug 31 2017 Ken Dreyer - 2.0.0.0-0.2.b2 - Add stevedore to Requires * Thu Aug 31 2017 Ken Dreyer - 2.0.0.0-0.1.b2 - Update to latest upstream tagged release (2.0.0.0 beta 2) (rhbz#1434196) - Drop upstreamed patch - Update URL * Thu Jul 27 2017 Fedora Release Engineering - 1.4.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.4.0-8 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.4.0-7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Apr 06 2016 Igor Gnatenko - 1.4.0-6 - Backport patch to fix py3 version * Tue Apr 05 2016 Igor Gnatenko - 1.4.0-5 - Use more python2- prefixed package in requires - Simplify providing binary of jenkins-jobs * Thu Feb 04 2016 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 14 2016 Paul Belanger - 1.4.0-3 - Add Requires python-six (rhbz#1298324) * Thu Jan 07 2016 Ken Dreyer - 1.4.0-2 - Drop another Fedora 20 conditional (and implicitly add RHEL 7 support) - Drop unneeded %%python_sitelib definition * Tue Dec 29 2015 Ken Dreyer - 1.4.0-1 - update to 1.4.0 (rhbz#1294527) * Fri Dec 04 2015 Ken Dreyer - 1.3.0-5 - Fix Requires on py2/py3 subpackages * Thu Dec 03 2015 Ken Dreyer - 1.3.0-4 - Patch to fix mavenName XML sorting on py35 - Make tests fail the build for py3 - Drop Fedora 20 conditionals * Sat Nov 14 2015 Ken Dreyer - Fix FTBFS with Python 3.5 - Run tests on python3 (still fail due to mavenName XML sorting issue) - rm Group tag - Rename Python 2 subpackage to "python2-" - Update for latest Python packaging guidelines - Switch /usr/bin/jenkins-jobs to Python 3 on Fedora 24 and newer * Tue Nov 10 2015 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Aug 27 2015 Ken Dreyer - 1.3.0-1 - update to 1.3.0 (rhbz#1257377) * Thu Jun 18 2015 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon May 18 2015 Ken Dreyer - 1.2.0-1 - update to 1.2.0 (rhbz#1222209) * Fri Apr 03 2015 Ken Dreyer - 1.1.0-1 - update to 1.1.0 - rm python3_version compat macro; this has been defined since F13 - remove hard-coded srcname in some places - add more test suite BRs - run tests using py.test directly instead of setuptools - add LICENSE * Wed Nov 19 2014 Ken Dreyer - 1.0.0-1 - update to 1.0.0 - rm argparse dep (this is in Python 2.7 core) - Use PBR_VERSION instead of trying to avoid pbr. * Wed Nov 19 2014 Ken Dreyer - 0.9.0-0.20141111gitgbaff62b.1 - update to post-release git snapshot * Tue Nov 11 2014 Ken Dreyer - 0.9.0-1 - New package. ## END: Generated by rpmautospec