!11 update version 5.4.5 for LTS
Merge pull request !11 from 温占礼/openEuler-20.03-LTS
This commit is contained in:
commit
f9f40fe642
BIN
pbr-4.1.1.tar.gz
BIN
pbr-4.1.1.tar.gz
Binary file not shown.
BIN
pbr-5.4.5.tar.gz
Normal file
BIN
pbr-5.4.5.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,12 @@
|
||||
Name: python-pbr
|
||||
Version: 4.1.1
|
||||
Release: 3
|
||||
Version: 5.4.5
|
||||
Release: 1
|
||||
Summary: Python Build Reasonableness
|
||||
License: ASL 2.0
|
||||
URL: http://pypi.python.org/pypi/pbr
|
||||
Source0: https://pypi.io/packages/source/p/pbr/pbr-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-sphinx >= 1.1.3
|
||||
|
||||
%description
|
||||
PBR is a library that injects some useful and sensible default behaviors into
|
||||
@ -29,14 +28,12 @@ Requires: python2-setuptools
|
||||
%description -n python2-pbr
|
||||
Manage dynamic plugins for Python applications
|
||||
|
||||
|
||||
%package -n python3-pbr
|
||||
Summary: Python Build Reasonableness
|
||||
%{?python_provide:%python_provide python3-pbr}
|
||||
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
Requires: python3-setuptools
|
||||
|
||||
%description -n python3-pbr
|
||||
Manage dynamic plugins for Python applications
|
||||
|
||||
@ -51,31 +48,36 @@ export SKIP_PIP_INSTALL=1
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
sphinx-build doc/source html
|
||||
rm -rf html/.{doctrees,buildinfo}
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
rm -rf %{buildroot}%{python3_sitelib}/pbr/tests
|
||||
mv %{buildroot}%{_bindir}/pbr %{buildroot}%{_bindir}/pbr-3
|
||||
|
||||
ln -s ./pbr-3 %{buildroot}%{_bindir}/pbr
|
||||
%py2_install
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
%{__python2} setup.py test
|
||||
|
||||
%files -n python2-pbr
|
||||
%doc LICENSE html README.rst
|
||||
%doc LICENSE README.rst
|
||||
%{_bindir}/pbr
|
||||
%{python2_sitelib}/*.egg-info
|
||||
%{python2_sitelib}/pbr
|
||||
%exclude %{python2_sitelib}/pbr/tests
|
||||
|
||||
%files -n python3-pbr
|
||||
%doc LICENSE html README.rst
|
||||
%doc LICENSE README.rst
|
||||
%{_bindir}/pbr-3
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%{python3_sitelib}/pbr
|
||||
%exclude %{python3_sitelib}/pbr/tests
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 24 2020 wenzhanli<wenzhanli2@huawei.com> - 5.4.5-1
|
||||
- Bump to version 5.4.5.
|
||||
|
||||
* Fri Feb 21 2020 Wanjiankang <wanjiankang@huawei.com> - 4.1.1-3
|
||||
- Modify BuildRequires.
|
||||
|
||||
|
||||
4
python-pbr.yaml
Normal file
4
python-pbr.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: pypi
|
||||
src_repo: pbr
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user