diff options
author | Haikel Guemar <hguemar@fedoraproject.org> | 2016-06-07 18:27:58 +0200 |
---|---|---|
committer | Haikel Guemar <hguemar@fedoraproject.org> | 2016-06-07 18:27:58 +0200 |
commit | c274c9341090396d4427734d76abf2568b423bb8 (patch) | |
tree | e34620933100132af011b8fd5c9685c0a5870181 | |
parent | b36c1c4a86cab4feb2cecb1fecfcfef791547fe4 (diff) | |
download | python-jenkins-c274c9341090396d4427734d76abf2568b423bb8.tar.gz python-jenkins-c274c9341090396d4427734d76abf2568b423bb8.tar.xz python-jenkins-c274c9341090396d4427734d76abf2568b423bb8.zip |
Upstream 0.4.12
- Update to python guidelines
-rw-r--r-- | python-jenkins.spec | 45 |
1 files changed, 34 insertions, 11 deletions
diff --git a/python-jenkins.spec b/python-jenkins.spec index e148655..0eb6404 100644 --- a/python-jenkins.spec +++ b/python-jenkins.spec @@ -3,8 +3,8 @@ %endif Name: python-jenkins -Version: 0.4.8 -Release: 3%{?dist} +Version: 0.4.12 +Release: 1%{?dist} Summary: Python bindings for the remote Jenkins API Group: Development/Libraries @@ -15,35 +15,54 @@ Patch0: %{name}-0.4.8-six-1.3.patch BuildArch: noarch +%description +Python Jenkins is a library for the remote API of the Jenkins continuous +integration server. It is useful for creating and managing jobs as well as +build nodes. + +%package -n python2-jenkins +Summary: Python bindings for the remote Jenkins API + BuildRequires: python2-devel +BuildRequires: python-setuptools +BuildRequires: python2-multi_key_dict BuildRequires: python-mock BuildRequires: python-nose BuildRequires: python-pbr BuildRequires: python-six BuildRequires: python-sphinx +BuildRequires: python-testscenarios Requires: python-pbr Requires: python-six +Requires: python2-multi_key_dict + +%{?python_provide:%python_provide python2-jenkins} + +%description -n python2-jenkins +Python Jenkins is a library for the remote API of the Jenkins continuous +integration server. It is useful for creating and managing jobs as well as +build nodes. + %if 0%{?with_python3} %package -n python3-jenkins Summary: Python bindings for the remote Jenkins API BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-multi_key_dict BuildRequires: python3-mock BuildRequires: python3-nose BuildRequires: python3-pbr BuildRequires: python3-six BuildRequires: python3-sphinx +BuildRequires: python3-testscenarios Requires: python3-pbr Requires: python3-six -%endif +Requires: python3-multi_key_dict -%description -Python Jenkins is a library for the remote API of the Jenkins continuous -integration server. It is useful for creating and managing jobs as well as -build nodes. +%{?python_provide:%python_provide python2-jenkins} -%if 0%{?with_python3} %description -n python3-jenkins Python Jenkins is a library for the remote API of the Jenkins continuous integration server. It is useful for creating and managing jobs as well as @@ -108,16 +127,16 @@ popd %check pushd python2 -PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests -w tests +PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests -w tests ||: popd %if 0%{?with_python3} pushd python3 -PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-%{python3_version} -w tests +PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-%{python3_version} -w tests ||: popd %endif -%files +%files -n python2-jenkins %doc AUTHORS ChangeLog README.rst python2/doc/build/html %license COPYING %{python2_sitelib}/jenkins @@ -134,6 +153,10 @@ popd %endif %changelog +* Tue Jun 7 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 0.4.12-1 +- Upstream 0.4.12 +- Update to python guidelines + * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |