!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
|
||||
|
||||
Name: python-heatclient
|
||||
Version: 2.2.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Python API and CLI for OpenStack Heat
|
||||
License: ASL 2.0
|
||||
URL: https://launchpad.net/python-heatclient
|
||||
Source0: https://tarballs.openstack.org/python-heatclient/python-heatclient-2.2.1.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Name: python-heatclient
|
||||
Version: 2.3.0
|
||||
Release: 1
|
||||
Summary: OpenStack Orchestration API Client Library
|
||||
License: Apache-2.0
|
||||
URL: https://docs.openstack.org/python-heatclient/latest
|
||||
Source0: https://files.pythonhosted.org/packages/21/3e/9b8291832fa40bb39d46e13a8327705460ab3fb25c46c950f0fafec9ceaf/python-heatclient-2.3.0.tar.gz
|
||||
BuildArch: noarch
|
||||
%description
|
||||
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.
|
||||
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).
|
||||
|
||||
%package -n python3-heatclient
|
||||
Summary: Python API and CLI for OpenStack Heat
|
||||
%{?python_provide:%python_provide python3-heatclient}
|
||||
Obsoletes: python2-heatclient < 2.2.1-2
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: git
|
||||
|
||||
Requires: python3-babel
|
||||
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
|
||||
|
||||
Summary: OpenStack Orchestration API Client Library
|
||||
Provides: python-heatclient
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
# General requires
|
||||
BuildRequires: python3-babel
|
||||
BuildRequires: python3-prettytable
|
||||
BuildRequires: python3-pyyaml
|
||||
BuildRequires: python3-cliff
|
||||
BuildRequires: python3-iso8601
|
||||
BuildRequires: python3-keystoneauth1
|
||||
BuildRequires: python3-osc-lib
|
||||
BuildRequires: python3-oslo-i18n
|
||||
BuildRequires: python3-oslo-serialization
|
||||
BuildRequires: python3-oslo-utils
|
||||
BuildRequires: python3-swiftclient
|
||||
BuildRequires: python3-requests
|
||||
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 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.
|
||||
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).
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for OpenStack Heat API Client
|
||||
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-openstackdocstheme
|
||||
BuildRequires: python3-babel
|
||||
BuildRequires: python3-iso8601
|
||||
BuildRequires: python3-keystoneauth1
|
||||
BuildRequires: python3-osc-lib
|
||||
BuildRequires: python3-prettytable
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-oslo-serialization
|
||||
BuildRequires: python3-oslo-utils
|
||||
BuildRequires: python3-oslo-i18n
|
||||
BuildRequires: python3-swiftclient
|
||||
BuildRequires: python3-requests
|
||||
BuildRequires: python3-cliff
|
||||
|
||||
%description doc
|
||||
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.
|
||||
|
||||
This package contains auto-generated documentation.
|
||||
%package help
|
||||
Summary: OpenStack Orchestration API Client Library
|
||||
Provides: python3-heatclient-doc
|
||||
%description help
|
||||
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).
|
||||
|
||||
%prep
|
||||
%autosetup -n python-heatclient-2.2.1 -S git
|
||||
rm -rf {test-,}requirements.txt tools/{pip,test}-requires
|
||||
|
||||
%autosetup -n python-heatclient-2.3.0 -S git
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
echo "2.2.1" > %{buildroot}%{python3_sitelib}/heatclient/versioninfo
|
||||
# Create a versioned binary for backwards compatibility until everything is pure py3
|
||||
ln -s heat %{buildroot}%{_bindir}/heat-3
|
||||
%py3_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
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
|
||||
install -pm 644 tools/heat.bash_completion \
|
||||
%{buildroot}%{_sysconfdir}/bash_completion.d/heat
|
||||
%check
|
||||
#%{__python3} setup.py test
|
||||
|
||||
# Delete tests
|
||||
rm -fr %{buildroot}%{python3_sitelib}/heatclient/tests
|
||||
%files -n python3-heatclient -f filelist.lst
|
||||
%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
|
||||
sphinx-build -W -b man doc/source doc/build/man
|
||||
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
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%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>
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user