00e75a7
%global srcname jenkins-job-builder
00e75a7
00e75a7
Name:           python-%{srcname}
00e75a7
Version:        3.8.0
00e75a7
Release:        4%{dist}
00e75a7
# Someone thought that 2.0.0.0b3 < 2.0.0
00e75a7
Epoch:          1
00e75a7
Summary:        Manage Jenkins jobs with YAML
00e75a7
License:        ASL 2.0
00e75a7
URL:            https://docs.openstack.org/infra/jenkins-job-builder/
00e75a7
Source:         %{pypi_source}
00e75a7
00e75a7
BuildArch:      noarch
00e75a7
00e75a7
%description
00e75a7
Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML format
00e75a7
and uses them to configure Jenkins. You can keep your job descriptions in
00e75a7
human readable text format in a version control system to make changes and
00e75a7
auditing easier. It also has a flexible template system, so creating many
00e75a7
similarly configured jobs is easy.
00e75a7
00e75a7
%package -n python3-%{srcname}
00e75a7
Summary:        %{summary}
00e75a7
%{?python_provide:%python_provide python3-%{srcname}}
00e75a7
BuildRequires:  python3-devel
00e75a7
BuildRequires:  python3-setuptools
00e75a7
BuildRequires:  python3dist(pbr) >= 1.8
00e75a7
# requirements.txt
00e75a7
BuildRequires:  python3dist(six) >= 1.9
00e75a7
BuildRequires:  (python3dist(pyyaml) >= 3.10 with python3dist(pyyaml) < 6)
00e75a7
BuildRequires:  python3dist(stevedore) >= 1.17.1
00e75a7
BuildRequires:  python3dist(python-jenkins) >= 0.4.15
00e75a7
BuildRequires:  python3dist(fasteners)
00e75a7
BuildRequires:  python3dist(jinja2)
00e75a7
# test-requirements.txt
00e75a7
BuildRequires:  python3dist(fixtures) >= 3
00e75a7
BuildRequires:  python3dist(testscenarios) >= 0.4
00e75a7
BuildRequires:  python3dist(testtools) >= 1.4
00e75a7
BuildRequires:  python3dist(mock) >= 2
00e75a7
BuildRequires:  python3dist(stestr)
00e75a7
00e75a7
%description -n python3-%{srcname}
00e75a7
Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML format
00e75a7
and uses them to configure Jenkins. You can keep your job descriptions in
00e75a7
human readable text format in a version control system to make changes and
00e75a7
auditing easier. It also has a flexible template system, so creating many
00e75a7
similarly configured jobs is easy.
00e75a7
00e75a7
%prep
00e75a7
%autosetup -n %{srcname}-%{version}%{?pre} -p1
00e75a7
rm -vr *.egg-info/
00e75a7
00e75a7
%build
00e75a7
export PBR_VERSION=%{version}
00e75a7
%py3_build
00e75a7
00e75a7
%install
00e75a7
%py3_install
00e75a7
00e75a7
%check
00e75a7
stestr run
00e75a7
00e75a7
%files -n python3-%{srcname}
00e75a7
%license LICENSE
00e75a7
%{_bindir}/jenkins-jobs
00e75a7
%{python3_sitelib}/jenkins_job_builder-*.egg-info/
00e75a7
%{python3_sitelib}/jenkins_jobs/
00e75a7
00e75a7
%changelog
00e75a7
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.8.0-4
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
00e75a7
00e75a7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.8.0-3
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
00e75a7
00e75a7
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1:3.8.0-2
00e75a7
- Rebuilt for Python 3.10
00e75a7
00e75a7
* Thu Feb 04 2021 Ken Dreyer <kdreyer@redhat.com> - 1:3.8.0-1
00e75a7
- Update to 3.8.0 (rhbz#1917500)
00e75a7
00e75a7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.7.0-2
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
00e75a7
00e75a7
* Fri Nov 13 2020 Ken Dreyer <ktdreyer@ktdreyer.com> 1:3.7.0-1
00e75a7
- Update to 3.7.0 (rhbz#1882766)
00e75a7
00e75a7
* Fri Aug 28 2020 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:3.5.0-2
00e75a7
- Run tests with stestr (rhbz#1865296)
00e75a7
00e75a7
* Fri Aug 07 2020 Ken Dreyer <ktdreyer@ktdreyer.com> 1:3.5.0-1
00e75a7
- Update to 3.5.0 (rhbz#1809853)
00e75a7
- Drop upstreamed patches
00e75a7
00e75a7
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.2.0-4
00e75a7
- Second attempt - Rebuilt for
00e75a7
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
00e75a7
00e75a7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.2.0-3
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
00e75a7
00e75a7
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.2.0-2
00e75a7
- Rebuilt for Python 3.9
00e75a7
00e75a7
* Wed Feb 05 2020 Ken Dreyer <ktdreyer@ktdreyer.com> 1:3.2.0-1
00e75a7
- Update to 3.2.0 (rhbz#1596891)
00e75a7
- Cherry-pick patches for py38 compat (rhbz#1706223)
00e75a7
00e75a7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.1-3
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
00e75a7
00e75a7
* Mon Sep 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1:3.0.1-2
00e75a7
- Rebuilt for Python 3.8
00e75a7
Christoph Erhardt df85bf5
* Tue Jul 30 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.0.1-1
00e75a7
- Update to 3.0.1
00e75a7
00e75a7
* Sat Jul 27 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.0.0-1
00e75a7
- Update to 3.0.0
00e75a7
00e75a7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.0-5
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
00e75a7
00e75a7
* Mon May 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.0-4
00e75a7
- Subpackage python2-jenkins-job-builder has been removed
00e75a7
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
00e75a7
Christoph Erhardt df85bf5
* Tue Apr 30 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:2.1.0-3
00e75a7
- Drop sphinx BRs (docs are not built)
00e75a7
00e75a7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.0-2
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
00e75a7
00e75a7
* Wed Jul 18 2018 Ken Dreyer <ktdreyer@ktdreyer.com> 1:2.1.0-1
00e75a7
- Update to 2.1.0 (rhbz#1596891)
00e75a7
- Patch to Revert "Constrain PyYAML to v3.x."
00e75a7
00e75a7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.10-3
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
00e75a7
00e75a7
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1:2.0.10-2
00e75a7
- Rebuilt for Python 3.7
00e75a7
00e75a7
* Sat Jun 16 2018 Ken Dreyer <ktdreyer@ktdreyer.com> 1:2.0.10-1
00e75a7
- Update to 2.0.10 (rhbz#1591993)
00e75a7
00e75a7
* Fri Jun 01 2018 Ken Dreyer <ktdreyer@ktdreyer.com> 1:2.0.9-1
00e75a7
- Update to 2.0.9 (rhbz#1575169)
00e75a7
00e75a7
* Wed Apr 25 2018 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:2.0.6-1
00e75a7
- Update to 2.0.6 (rhbz#1539219)
00e75a7
00e75a7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.0-2
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
00e75a7
00e75a7
* Wed Jan 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-1
00e75a7
- Update to 2.0.0
00e75a7
00e75a7
* Thu Aug 31 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 2.0.0.0-0.2.b2
00e75a7
- Add stevedore to Requires
00e75a7
00e75a7
* Thu Aug 31 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 2.0.0.0-0.1.b2
00e75a7
- Update to latest upstream tagged release (2.0.0.0 beta 2) (rhbz#1434196)
00e75a7
- Drop upstreamed patch
00e75a7
- Update URL
00e75a7
00e75a7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-10
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
00e75a7
00e75a7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-9
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
00e75a7
00e75a7
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-8
00e75a7
- Rebuild for Python 3.6
00e75a7
00e75a7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-7
00e75a7
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
00e75a7
00e75a7
* Wed Apr 06 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.4.0-6
00e75a7
- Backport patch to fix py3 version
00e75a7
00e75a7
* Tue Apr 05 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.4.0-5
00e75a7
- Use more python2- prefixed package in requires
00e75a7
- Simplify providing binary of jenkins-jobs
00e75a7
00e75a7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
00e75a7
00e75a7
* Thu Jan 14 2016 Paul Belanger <pabelanger@redhat.com> - 1.4.0-3
00e75a7
- Add Requires python-six (rhbz#1298324)
00e75a7
00e75a7
* Thu Jan 07 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.4.0-2
00e75a7
- Drop another Fedora 20 conditional (and implicitly add RHEL 7 support)
00e75a7
- Drop unneeded %%python_sitelib definition
00e75a7
00e75a7
* Tue Dec 29 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.4.0-1
00e75a7
- update to 1.4.0 (rhbz#1294527)
00e75a7
00e75a7
* Fri Dec 04 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.3.0-5
00e75a7
- Fix Requires on py2/py3 subpackages
00e75a7
00e75a7
* Thu Dec 03 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.3.0-4
00e75a7
- Patch to fix mavenName XML sorting on py35
00e75a7
- Make tests fail the build for py3
00e75a7
- Drop Fedora 20 conditionals
00e75a7
00e75a7
* Sat Nov 14 2015 Ken Dreyer <ktdreyer@ktdreyer.com>
00e75a7
- Fix FTBFS with Python 3.5
00e75a7
- Run tests on python3 (still fail due to mavenName XML sorting issue)
00e75a7
- rm Group tag
00e75a7
- Rename Python 2 subpackage to "python2-"
00e75a7
- Update for latest Python packaging guidelines
00e75a7
- Switch /usr/bin/jenkins-jobs to Python 3 on Fedora 24 and newer
00e75a7
00e75a7
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
00e75a7
00e75a7
* Thu Aug 27 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.3.0-1
00e75a7
- update to 1.3.0 (rhbz#1257377)
00e75a7
00e75a7
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
00e75a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
00e75a7
00e75a7
* Mon May 18 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.2.0-1
00e75a7
- update to 1.2.0 (rhbz#1222209)
00e75a7
00e75a7
* Fri Apr 03 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.1.0-1
00e75a7
- update to 1.1.0
00e75a7
- rm python3_version compat macro; this has been defined since F13
00e75a7
- remove hard-coded srcname in some places
00e75a7
- add more test suite BRs
00e75a7
- run tests using py.test directly instead of setuptools
00e75a7
- add LICENSE
00e75a7
00e75a7
* Wed Nov 19 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.0.0-1
00e75a7
- update to 1.0.0
00e75a7
- rm argparse dep (this is in Python 2.7 core)
00e75a7
- Use PBR_VERSION instead of trying to avoid pbr.
00e75a7
00e75a7
* Wed Nov 19 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.9.0-0.20141111gitgbaff62b.1
00e75a7
- update to post-release git snapshot
00e75a7
00e75a7
* Tue Nov 11 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.9.0-1
00e75a7
- New package.