update to 5.4.5

This commit is contained in:
jinzhimin369 2020-07-29 11:17:07 +08:00
parent 12eb84e985
commit c829130841
3 changed files with 19 additions and 36 deletions

Binary file not shown.

BIN
pbr-5.4.5.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: python-pbr Name: python-pbr
Version: 4.1.1 Version: 5.4.5
Release: 3 Release: 1
Summary: Python Build Reasonableness Summary: Python Build Reasonableness
License: ASL 2.0 License: ASL 2.0
URL: http://pypi.python.org/pypi/pbr URL: http://pypi.python.org/pypi/pbr
Source0: https://pypi.io/packages/source/p/pbr/pbr-%{version}.tar.gz Source0: https://pypi.io/packages/source/p/pbr/pbr-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-sphinx >= 1.1.3
%description %description
PBR is a library that injects some useful and sensible default behaviors into PBR is a library that injects some useful and sensible default behaviors into
@ -16,27 +15,14 @@ between all of the OpenStack projects. Around the time that OpenStack hit 18
different projects each with at least 3 active branches, it seems like a good different projects each with at least 3 active branches, it seems like a good
time to make that code into a proper re-usable library. time to make that code into a proper re-usable library.
%package -n python2-pbr
Summary: Python Build Reasonableness
%{?python_provide:%python_provide python2-pbr}
BuildRequires: python2-devel python2-setuptools
BuildRequires: python2-coverage python2-mock
BuildRequires: python2-testscenarios git gnupg
Requires: python2-setuptools
%description -n python2-pbr
Manage dynamic plugins for Python applications
%package -n python3-pbr %package -n python3-pbr
Summary: Python Build Reasonableness Summary: Python Build Reasonableness
%{?python_provide:%python_provide python3-pbr} %{?python_provide:%python_provide python3-pbr}
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
Requires: python3-setuptools Requires: python3-setuptools
Requires: git-core
Conflicts: python2-%{pypi_name} < 5.4.3-2
%description -n python3-pbr %description -n python3-pbr
Manage dynamic plugins for Python applications Manage dynamic plugins for Python applications
@ -48,34 +34,31 @@ rm -rf {test-,}requirements.txt pbr.egg-info/requires.txt
%build %build
export SKIP_PIP_INSTALL=1 export SKIP_PIP_INSTALL=1
%py2_build
%py3_build %py3_build
sphinx-build doc/source html
rm -rf html/.{doctrees,buildinfo}
%install %install
%py3_install %py3_install
rm -rf %{buildroot}%{python3_sitelib}/pbr/tests
mv %{buildroot}%{_bindir}/pbr %{buildroot}%{_bindir}/pbr-3 mv %{buildroot}%{_bindir}/pbr %{buildroot}%{_bindir}/pbr-3
ln -s ./pbr-3 %{buildroot}%{_bindir}/pbr
%py2_install
%if 0%{?do_test}
%files -n python2-pbr %check
%doc LICENSE html README.rst %{__python3} setup.py test
%{_bindir}/pbr %endif
%{python2_sitelib}/*.egg-info
%{python2_sitelib}/pbr
%exclude %{python2_sitelib}/pbr/tests
%files -n python3-pbr %files -n python3-pbr
%doc LICENSE html README.rst %license LICENSE
%doc README.rst
%{_bindir}/pbr
%{_bindir}/pbr-3 %{_bindir}/pbr-3
%{python3_sitelib}/*.egg-info %{python3_sitelib}/*.egg-info/
%{python3_sitelib}/pbr %{python3_sitelib}/pbr/
%exclude %{python3_sitelib}/pbr/tests
%changelog %changelog
* Wed Jul 29 2020 jinzhimin<jinzhimin2@huawei.com> - 5.4.5-1
- update to 5.4.5
* Fri Feb 21 2020 Wanjiankang <wanjiankang@huawei.com> - 4.1.1-3 * Fri Feb 21 2020 Wanjiankang <wanjiankang@huawei.com> - 4.1.1-3
- Modify BuildRequires. - Modify BuildRequires.