diff options
Diffstat (limited to 'python-jenkins.spec')
| -rw-r--r-- | python-jenkins.spec | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/python-jenkins.spec b/python-jenkins.spec index df92bc1..239eef4 100644 --- a/python-jenkins.spec +++ b/python-jenkins.spec @@ -3,15 +3,14 @@ %endif Name: python-jenkins -Version: 0.4.12 -Release: 5%{?dist} +Version: 0.4.14 +Release: 1%{?dist} Summary: Python bindings for the remote Jenkins API Group: Development/Libraries License: BSD -URL: http://python-jenkins.readthedocs.org/en/latest -Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz -Patch0: %{name}-0.4.8-six-1.3.patch +URL: https://python-jenkins.readthedocs.org/en/latest +Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch @@ -32,6 +31,7 @@ BuildRequires: python-pbr BuildRequires: python-six BuildRequires: python-sphinx BuildRequires: python-testscenarios +BuildRequires: python-kerberos Requires: python-pbr Requires: python-six Requires: python2-multi_key_dict @@ -57,6 +57,7 @@ BuildRequires: python3-pbr BuildRequires: python3-six BuildRequires: python3-sphinx BuildRequires: python3-testscenarios +BuildRequires: python3-kerberos Requires: python3-pbr Requires: python3-six Requires: python3-multi_key_dict @@ -74,9 +75,6 @@ build nodes. mv %{name}-%{version} python2 pushd python2 -%if 0%{?epel} -%patch0 -p1 -%endif # Remove env from __init__.py sed -i '/^#!\/usr\/bin\/env python$/d' jenkins/__init__.py @@ -127,7 +125,12 @@ popd %check pushd python2 +%if 0%{?fedora} PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests -w tests ||: +%else +# https://bugs.launchpad.net/testscenarios/+bug/872887 +python -m testtools.run discover || : +%endif popd %if 0%{?with_python3} @@ -153,6 +156,13 @@ popd %endif %changelog +* Sat May 13 2017 Ken Dreyer <ktdreyer@ktdreyer.com> 0.4.14-1 +- Update to 0.4.14 (rhbz#1267414) +- Use HTTPS homepage URL +- New Source0 PyPI URL +- Avoid nose on el7 (LP: #872887) +- BR: python-kerberos to make the tests get a bit further + * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
