upgrade to 2.0.0

(cherry picked from commit 3df5daa0c6d2606cf5b8ef2a94c847313a0bc74e)
This commit is contained in:
zhangy1317 2021-11-17 15:42:57 +08:00 committed by openeuler-sync-bot
parent 5747d146ae
commit 83a3e7fedd
3 changed files with 19 additions and 21 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,14 @@
%global _empty_manifest_terminate_build 0
Name: python-openstack-doc-tools
Version: 1.0.1
Version: 2.0.0
Release: 1
Summary: Tools for OpenStack Documentation
License: Apache-2.0
URL: http://www.openstack.org/
Source0: https://files.pythonhosted.org/packages/c7/c5/8c4dd7e824e4f04714eda317f141772895aedaac11b82e903ade480e38dd/openstack-doc-tools-1.0.1.tar.gz
URL: https://docs.openstack.org/openstack-doc-tools/latest/
Source0: https://files.pythonhosted.org/packages/cb/16/9da8ae1978eca337336d0fd99b99fef404ab21bcbd4a467dcdd1eaacbc6d/openstack-doc-tools-2.0.0.tar.gz
BuildArch: noarch
%description
Tools for OpenStack Documentation
This repository contains tools used by the OpenStack Documentation.
%package -n python3-openstack-doc-tools
Summary: Tools for OpenStack Documentation
@ -20,35 +20,32 @@ BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-babel
BuildRequires: python3-pyyaml
BuildRequires: python3-cliff-tablib
BuildRequires: python3-demjson
BuildRequires: python3-iso8601
BuildRequires: python3-lxml
BuildRequires: python3-oslo-config
BuildRequires: python3-docutils
#BuildRequires: python3-demjson
BuildRequires: python3-pyyaml
BuildRequires: python3-sphinx
# General requires
Requires: python3-babel
Requires: python3-pyyaml
Requires: python3-cliff-tablib
Requires: python3-demjson
Requires: python3-pbr
Requires: python3-iso8601
Requires: python3-lxml
Requires: python3-oslo-config
Requires: python3-pbr
Requires: python3-docutils
#Requires: python3-demjson
Requires: python3-pyyaml
Requires: python3-sphinx
%description -n python3-openstack-doc-tools
Tools for OpenStack Documentation
This repository contains tools used by the OpenStack Documentation.
%package help
Summary: Tools for OpenStack Documentation
Provides: python3-openstack-doc-tools-doc
%description help
Tools for OpenStack Documentation
This repository contains tools used by the OpenStack Documentation.
%prep
%autosetup -n openstack-doc-tools-%{version}
sed -i '/demjson/d' requirements.txt
%build
%py3_build
@ -82,16 +79,17 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
%files -n python3-openstack-doc-tools -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%files
%{_datadir}
%changelog
* Wed Nov 17 2021 OpenStack_SIG <openstack@openeuler.org> - 2.0.0-1
- Upgrade to 2.0.0
* Fri Oct 29 2021 OpenStack_SIG <openstack@openeuler.org> - 1.0.1-1
- Init package python3-openstack-doc-tools of version 1.0.1