Accepting request 703254 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/703254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2019-05-16 19:59:03 +00:00 committed by Git OBS Bridge
commit 737cc26768
4 changed files with 25 additions and 17 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,16 @@
-------------------------------------------------------------------
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>
- Do not generate any packages in the test multibuild run
-------------------------------------------------------------------
Tue Mar 26 20:02:01 UTC 2019 - John Vandenberg <jayvdb@gmail.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,39 +77,34 @@ 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
%postun
%python_uninstall_alternative pbr
%endif
%files %{python_files}
%license LICENSE
%if !%{with test}
%doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst
%python_alternative %{_bindir}/pbr
%{python_sitelib}/pbr