Accepting request 600105 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/600105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=80
This commit is contained in:
Tomáš Chvátal 2018-04-24 06:24:56 +00:00 committed by Git OBS Bridge
parent 9634c601f5
commit 084ef7f62a
6 changed files with 36 additions and 22 deletions

View File

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

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

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Apr 23 15:14:47 UTC 2018 - arun@gmx.de
- update to version 4.0.2:
* Better Sem-Ver header handling
- changes from version 4.0.1:
* add lower-constraints job
* Explicitly read setup.cfg as utf-8 on Python 3
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 28 04:42:26 UTC 2018 - tbechtold@suse.com Wed Mar 28 04:42:26 UTC 2018 - tbechtold@suse.com

View File

@ -18,21 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pbr-doc Name: python-pbr-doc
Version: 4.0.0 Version: 4.0.2
Release: 0 Release: 0
Summary: Documentation for python-pbr Summary: Documentation for python-pbr
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/pbr URL: http://pypi.python.org/pypi/pbr
Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz
Source1: python-pbr-rpmlintrc Source1: python-pbr-rpmlintrc
BuildRequires: fdupes BuildRequires: fdupes
# Documentation requirements: # Documentation requirements:
BuildRequires: python3-Sphinx >= 1.6.2 BuildRequires: python3-Sphinx >= 1.6.2
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: %{python_module pbr-doc = %{version}} Provides: %{python_module pbr-doc = %{version}}
BuildArch: noarch
%description %description
This package contains documentation files for python-pbr This package contains documentation files for python-pbr
@ -51,8 +50,7 @@ mkdir -p %{buildroot}%{_docdir}/python-pbr
cp -r doc/build/html %{buildroot}%{_docdir}/python-pbr/ cp -r doc/build/html %{buildroot}%{_docdir}/python-pbr/
%files %files
%defattr(-,root,root,-) %license LICENSE
%doc LICENSE
%{_docdir}/python-pbr/ %{_docdir}/python-pbr/
%changelog %changelog

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Apr 23 15:14:47 UTC 2018 - arun@gmx.de
- update to version 4.0.2:
* Better Sem-Ver header handling
- changes from version 4.0.1:
* add lower-constraints job
* Explicitly read setup.cfg as utf-8 on Python 3
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 28 04:42:26 UTC 2018 - tbechtold@suse.com Wed Mar 28 04:42:26 UTC 2018 - tbechtold@suse.com

View File

@ -16,24 +16,27 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# NOTE(saschpe): git invocation and pythonpath issues with testrepository # NOTE(saschpe): git invocation and pythonpath issues with testrepository
# enable testing with a build conditional (off by default): # enable testing with a build conditional (off by default):
%bcond_with test %bcond_with test
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pbr Name: python-pbr
Version: 4.0.0 Version: 4.0.2
Release: 0 Release: 0
Summary: Python Build Reasonableness Summary: Python Build Reasonableness
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/pbr URL: http://pypi.python.org/pypi/pbr
Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz
Source1: python-pbr-rpmlintrc Source1: python-pbr-rpmlintrc
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# Test requirements: # Test requirements:
%if %{with test} %if %{with test}
#BuildRequires: python-coverage >= 3.6 #BuildRequires: python-coverage >= 3.6
@ -46,12 +49,6 @@ BuildRequires: %{python_module testresources >= 0.2.4}
BuildRequires: %{python_module testscenarios >= 0.4} BuildRequires: %{python_module testscenarios >= 0.4}
BuildRequires: %{python_module testtools >= 1.4.0} BuildRequires: %{python_module testtools >= 1.4.0}
%endif %endif
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -61,7 +58,6 @@ them every time. It will set versions, process requirements
files and generate AUTHORS and ChangeLog file all from git files and generate AUTHORS and ChangeLog file all from git
information. information.
%prep %prep
%setup -q -n pbr-%{version} %setup -q -n pbr-%{version}
# Get rid of ugly build-time deps that require network: # Get rid of ugly build-time deps that require network:
@ -93,8 +89,8 @@ chmod -x pbr/tests/testpackage/setup.py
%python_uninstall_alternative pbr %python_uninstall_alternative pbr
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS ChangeLog CONTRIBUTING.rst LICENSE README.rst %doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst
%python_alternative %{_bindir}/pbr %python_alternative %{_bindir}/pbr
%{python_sitelib}/pbr %{python_sitelib}/pbr
%{python_sitelib}/pbr-%{version}-py%{python_version}.egg-info %{python_sitelib}/pbr-%{version}-py%{python_version}.egg-info