Accepting request 703253 from home:jesusaur:branches:devel:languages:python

- Update to 5.2.0
  * Support provides_extra metadata
  * Remove libzmq-dev from integration.sh package install
  * Fix error when keywords are defined as a list in cfg

OBS-URL: https://build.opensuse.org/request/show/703253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=116
This commit is contained in:
Tomáš Chvátal 2019-05-15 20:13:18 +00:00 committed by Git OBS Bridge
parent 85d6ee54eb
commit 72db2a8dd2
4 changed files with 20 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c361cc353d988e4f5b998555c88098b9d5964c2e11acf7b0d21925a66bb5824
size 115241

3
pbr-5.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d950c64aeea5456bbd147468382a5bb77fe692c13c9f00f0219814ce5b642755
size 115260

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed May 15 17:01:50 UTC 2019 - Jonathan Harker <jharker@suse.com>
- Update to 5.2.0
* Support provides_extra metadata
* Remove libzmq-dev from integration.sh package install
* Fix error when keywords are defined as a list in cfg
-------------------------------------------------------------------
Mon May 13 21:53:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-pbr%{psuffix}
Version: 5.1.3
Version: 5.2.0
Release: 0
Summary: Python Build Reasonableness
License: Apache-2.0
@ -37,7 +37,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
#!BuildIgnore: python2-pyparsing
#!BuildIgnore: python3-pyparsing
#!BuildIgnore: python3-pyparsing
Requires: python-setuptools
Recommends: git-core
Recommends: python-reno >= 2.5.0
@ -77,29 +77,26 @@ information.
%prep
%setup -q -n pbr-%{version}
%autopatch -p1
sed -i '/coverage/d;/hacking/d' test-requirements.txt
%build
%python_build
%install
%if %{with test}
%check
export OS_TEST_TIMEOUT=60
%python_exec -m stestr run
%endif
%if !%{with test}
%install
%python_install
%python_expand rm -rf %{buildroot}%{$python_sitelib}/pbr/tests
%python_clone -a %{buildroot}%{_bindir}/pbr
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%if %{with test}
%check
export OS_TEST_TIMEOUT=60
%python_exec -m stestr.cli run
%endif
%if !%{with test}
%post
%python_install_alternative pbr