!10 update version to 2.3.0
From: @zhangy1317 Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
bf1a10c145
Binary file not shown.
BIN
python-heatclient-2.3.0.tar.gz
Normal file
BIN
python-heatclient-2.3.0.tar.gz
Normal file
Binary file not shown.
@ -1,119 +1,112 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
|
|
||||||
Name: python-heatclient
|
Name: python-heatclient
|
||||||
Version: 2.2.1
|
Version: 2.3.0
|
||||||
Release: 1%{?dist}
|
Release: 1
|
||||||
Summary: Python API and CLI for OpenStack Heat
|
Summary: OpenStack Orchestration API Client Library
|
||||||
License: ASL 2.0
|
License: Apache-2.0
|
||||||
URL: https://launchpad.net/python-heatclient
|
URL: https://docs.openstack.org/python-heatclient/latest
|
||||||
Source0: https://tarballs.openstack.org/python-heatclient/python-heatclient-2.2.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/21/3e/9b8291832fa40bb39d46e13a8327705460ab3fb25c46c950f0fafec9ceaf/python-heatclient-2.3.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a client for the OpenStack Heat API. There's a Python API (the \
|
This is a client library for Heat built on the Heat orchestration API. It provides a Python API (the heatclient
|
||||||
heatclient module), and a command-line script (heat). Each implements 100% of \
|
module) and a command-line tool (heat).
|
||||||
the OpenStack Heat API.
|
|
||||||
|
|
||||||
%package -n python3-heatclient
|
%package -n python3-heatclient
|
||||||
Summary: Python API and CLI for OpenStack Heat
|
Summary: OpenStack Orchestration API Client Library
|
||||||
%{?python_provide:%python_provide python3-heatclient}
|
Provides: python-heatclient
|
||||||
Obsoletes: python2-heatclient < 2.2.1-2
|
# Base build requires
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: git
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
Requires: python3-babel
|
# General requires
|
||||||
Requires: python3-iso8601
|
|
||||||
Requires: python3-keystoneauth1 >= 3.4.0
|
|
||||||
Requires: python3-osc-lib >= 1.14.0
|
|
||||||
Requires: python3-prettytable
|
|
||||||
Requires: python3-pbr
|
|
||||||
Requires: python3-six
|
|
||||||
Requires: python3-oslo-serialization >= 2.18.0
|
|
||||||
Requires: python3-oslo-utils >= 3.33.0
|
|
||||||
Requires: python3-oslo-i18n >= 3.15.3
|
|
||||||
Requires: python3-swiftclient >= 3.2.0
|
|
||||||
Requires: python3-requests
|
|
||||||
Requires: python3-cliff
|
|
||||||
Requires: python3-PyYAML
|
|
||||||
|
|
||||||
%description -n python3-heatclient
|
|
||||||
This is a client for the OpenStack Heat API. There's a Python API (the \
|
|
||||||
heatclient module), and a command-line script (heat). Each implements 100% of \
|
|
||||||
the OpenStack Heat API.
|
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Documentation for OpenStack Heat API Client
|
|
||||||
|
|
||||||
BuildRequires: python3-sphinx
|
|
||||||
BuildRequires: python3-openstackdocstheme
|
|
||||||
BuildRequires: python3-babel
|
BuildRequires: python3-babel
|
||||||
|
BuildRequires: python3-prettytable
|
||||||
|
BuildRequires: python3-pyyaml
|
||||||
|
BuildRequires: python3-cliff
|
||||||
BuildRequires: python3-iso8601
|
BuildRequires: python3-iso8601
|
||||||
BuildRequires: python3-keystoneauth1
|
BuildRequires: python3-keystoneauth1
|
||||||
BuildRequires: python3-osc-lib
|
BuildRequires: python3-osc-lib
|
||||||
BuildRequires: python3-prettytable
|
BuildRequires: python3-oslo-i18n
|
||||||
BuildRequires: python3-pbr
|
|
||||||
BuildRequires: python3-six
|
|
||||||
BuildRequires: python3-oslo-serialization
|
BuildRequires: python3-oslo-serialization
|
||||||
BuildRequires: python3-oslo-utils
|
BuildRequires: python3-oslo-utils
|
||||||
BuildRequires: python3-oslo-i18n
|
|
||||||
BuildRequires: python3-swiftclient
|
BuildRequires: python3-swiftclient
|
||||||
BuildRequires: python3-requests
|
BuildRequires: python3-requests
|
||||||
BuildRequires: python3-cliff
|
BuildRequires: python3-six
|
||||||
|
# General requires
|
||||||
|
Requires: python3-babel
|
||||||
|
Requires: python3-prettytable
|
||||||
|
Requires: python3-pyyaml
|
||||||
|
Requires: python3-cliff
|
||||||
|
Requires: python3-iso8601
|
||||||
|
Requires: python3-keystoneauth1
|
||||||
|
Requires: python3-osc-lib
|
||||||
|
Requires: python3-oslo-i18n
|
||||||
|
Requires: python3-oslo-serialization
|
||||||
|
Requires: python3-oslo-utils
|
||||||
|
Requires: python3-pbr
|
||||||
|
Requires: python3-swiftclient
|
||||||
|
Requires: python3-requests
|
||||||
|
Requires: python3-six
|
||||||
|
%description -n python3-heatclient
|
||||||
|
This is a client library for Heat built on the Heat orchestration API. It provides a Python API (the heatclient
|
||||||
|
module) and a command-line tool (heat).
|
||||||
|
|
||||||
%description doc
|
%package help
|
||||||
This is a client for the OpenStack Heat API. There's a Python API (the \
|
Summary: OpenStack Orchestration API Client Library
|
||||||
heatclient module), and a command-line script (heat). Each implements 100% of \
|
Provides: python3-heatclient-doc
|
||||||
the OpenStack Heat API.
|
%description help
|
||||||
|
This is a client library for Heat built on the Heat orchestration API. It provides a Python API (the heatclient
|
||||||
This package contains auto-generated documentation.
|
module) and a command-line tool (heat).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n python-heatclient-2.2.1 -S git
|
%autosetup -n python-heatclient-2.3.0 -S git
|
||||||
rm -rf {test-,}requirements.txt tools/{pip,test}-requires
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{py3_build}
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{py3_install}
|
%py3_install
|
||||||
echo "2.2.1" > %{buildroot}%{python3_sitelib}/heatclient/versioninfo
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
# Create a versioned binary for backwards compatibility until everything is pure py3
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
ln -s heat %{buildroot}%{_bindir}/heat-3
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
if [ -d usr/lib ]; then
|
||||||
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/lib64 ]; then
|
||||||
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/bin ]; then
|
||||||
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/sbin ]; then
|
||||||
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/filelist.lst .
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
|
%check
|
||||||
install -pm 644 tools/heat.bash_completion \
|
#%{__python3} setup.py test
|
||||||
%{buildroot}%{_sysconfdir}/bash_completion.d/heat
|
|
||||||
|
|
||||||
# Delete tests
|
%files -n python3-heatclient -f filelist.lst
|
||||||
rm -fr %{buildroot}%{python3_sitelib}/heatclient/tests
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
export PYTHONPATH=.
|
|
||||||
sphinx-build -W -b html doc/source doc/build/html
|
|
||||||
# Fix hidden-file-or-dir warnings
|
|
||||||
rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo
|
|
||||||
|
|
||||||
# generate man page
|
%files help -f doclist.lst
|
||||||
sphinx-build -W -b man doc/source doc/build/man
|
%{_docdir}/*
|
||||||
install -p -D -m 644 doc/build/man/heat.1 %{buildroot}%{_mandir}/man1/heat.1
|
|
||||||
|
|
||||||
%files -n python3-heatclient
|
|
||||||
%doc README.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/heatclient
|
|
||||||
%{python3_sitelib}/*.egg-info
|
|
||||||
%{_sysconfdir}/bash_completion.d
|
|
||||||
%{_mandir}/man1/heat.1.gz
|
|
||||||
%{_bindir}/heat
|
|
||||||
%{_bindir}/heat-3
|
|
||||||
|
|
||||||
%files doc
|
|
||||||
%doc doc/build/html
|
|
||||||
%license LICENSE
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 2.3.0-1
|
||||||
|
- Update to 2.3.0
|
||||||
* Tue Feb 23 2021 Python_Bot <Python_Bot@openeuler.org>
|
* Tue Feb 23 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user