- update to version 1.13.0

- Add plug-in summary for osc doc
  - Add --no-rollback option for stack cancel
  - Add `--converge` argument for osc stack update
  - No longer use oslotest.mockpatch
  - Use generic user for both zuul v2 and v3
  - Modify error message encountered during stack update
  - Decode content before checking
  - Support --show-nested in openstack stack update --dry-run
  - Don't override sections in deep_update
  - Imported Translations from Zanata
  - Don't preformat stack output show list/map values
  - Remove vestigate HUDSON_PUBLISH_DOCS reference
  - Allow cancelling create_in_progress stacks with --no-rollback
  - Updated from global requirements
  - Use Sphinx 1.5 warning-is-error
- Convert to singlespec

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-heatclient?expand=0&rev=43
This commit is contained in:
Thomas Bechtold 2018-01-19 05:56:59 +00:00 committed by Git OBS Bridge
parent acfb783408
commit 021d191225
5 changed files with 107 additions and 55 deletions

View File

@ -1,8 +1,8 @@
<services> <services>
<service mode="disabled" name="renderspec"> <service mode="disabled" name="renderspec">
<param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/python-heatclient/python-heatclient.spec.j2</param> <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/python-heatclient/python-heatclient.spec.j2</param>
<param name="output-name">python-heatclient.spec</param> <param name="output-name">python-heatclient.spec</param>
<param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param> <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requirements.txt</param>
<param name="changelog-email">cloud-devel@suse.de</param> <param name="changelog-email">cloud-devel@suse.de</param>
<param name="changelog-provider">gh,openstack,python-heatclient</param> <param name="changelog-provider">gh,openstack,python-heatclient</param>
</service> </service>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4592df82c3abbffe22f2c223470074526245c9e960f8f5f055f840b60d94a155
size 165700

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6f03b93b7413beddee81b157149938c541ef08cb67412dd879dbfbc65a691d1
size 165468

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jan 19 05:52:48 UTC 2018 - cloud-devel@suse.de
- update to version 1.13.0
- Add plug-in summary for osc doc
- Add --no-rollback option for stack cancel
- Add `--converge` argument for osc stack update
- No longer use oslotest.mockpatch
- Use generic user for both zuul v2 and v3
- Modify error message encountered during stack update
- Decode content before checking
- Support --show-nested in openstack stack update --dry-run
- Don't override sections in deep_update
- Imported Translations from Zanata
- Don't preformat stack output show list/map values
- Remove vestigate HUDSON_PUBLISH_DOCS reference
- Allow cancelling create_in_progress stacks with --no-rollback
- Updated from global requirements
- Use Sphinx 1.5 warning-is-error
- Convert to singlespec
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 7 09:10:40 UTC 2017 - cloud-devel@suse.de Mon Aug 7 09:10:40 UTC 2017 - cloud-devel@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-heatclient # spec file for package python-heatclient
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,96 +16,127 @@
# #
%global sname python-heatclient
Name: python-heatclient Name: python-heatclient
Version: 1.11.0 Version: 1.13.0
Release: 0 Release: 0
Summary: Python API and CLI for OpenStack Heat Summary: Python API and CLI for OpenStack Heat
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://launchpad.net/%{sname} Url: https://launchpad.net/python-heatclient
Source0: https://pypi.io/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/python-heatclient/python-heatclient-1.13.0.tar.gz
BuildRequires: openstack-macros BuildRequires: openstack-macros
BuildRequires: python-PyYAML >= 3.10.0
BuildRequires: python-cliff >= 2.6.0
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-fixtures >= 3.0.0 BuildRequires: python2-PyYAML
BuildRequires: python-mock >= 2.0 BuildRequires: python2-cliff
BuildRequires: python-mox3 >= 0.7.0 BuildRequires: python2-fixtures
BuildRequires: python-osc-lib >= 1.5.1 BuildRequires: python2-mock
BuildRequires: python-oslo.serialization >= 1.10.0 BuildRequires: python2-mox3
BuildRequires: python-oslotest >= 1.10.0 BuildRequires: python2-osc-lib
BuildRequires: python-pbr >= 2.0.0 BuildRequires: python2-oslo.serialization
BuildRequires: python-requests-mock >= 1.1 BuildRequires: python2-pbr
BuildRequires: python-swiftclient >= 3.2.0 BuildRequires: python2-requests-mock
BuildRequires: python-testrepository >= 0.0.18 BuildRequires: python2-swiftclient
BuildRequires: python-testscenarios >= 0.4 BuildRequires: python2-testrepository
BuildRequires: python-testtools >= 1.4.0 BuildRequires: python2-testscenarios
Requires: python-Babel >= 2.3.4 BuildRequires: python2-testtools
Requires: python-PrettyTable >= 0.7.1 BuildRequires: python3-PyYAML
Requires: python-PyYAML >= 3.10.0 BuildRequires: python3-cliff
Requires: python-cliff >= 2.6.0 BuildRequires: python3-devel
Requires: python-iso8601 >= 0.1.11 BuildRequires: python3-fixtures
Requires: python-keystoneauth1 >= 2.21.0 BuildRequires: python3-mock
Requires: python-osc-lib >= 1.5.1 BuildRequires: python3-mox3
Requires: python-oslo.i18n >= 2.1.0 BuildRequires: python3-osc-lib
Requires: python-oslo.serialization >= 1.10.0 BuildRequires: python3-oslo.serialization
Requires: python-oslo.utils >= 3.20.0 BuildRequires: python3-pbr
Requires: python-requests >= 2.14.2 BuildRequires: python3-requests-mock
Requires: python-six >= 1.9.0 BuildRequires: python3-swiftclient
Requires: python-swiftclient >= 3.2.0 BuildRequires: python3-testrepository
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
Requires: python-Babel
Requires: python-PrettyTable
Requires: python-PyYAML
Requires: python-cliff
Requires: python-iso8601
Requires: python-keystoneauth1
Requires: python-osc-lib
Requires: python-oslo.i18n
Requires: python-oslo.serialization
Requires: python-oslo.utils
Requires: python-requests
Requires: python-six
Requires: python-swiftclient
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
%else
# on RDO, update-alternatives is in chkconfig
Requires(post): chkconfig
Requires(postun): chkconfig
%endif
%python_subpackages
%description %description
This is a client for the OpenStack Heat API. There's a Python API (the 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 heatclient module), and a command-line script (heat). Each implements 100% of
the OpenStack Heat API. the OpenStack Heat API.
%package doc %package -n python-heatclient-doc
Summary: Documentation for OpenStack Heat API Client Summary: Documentation for OpenStack Heat API Client
Group: Documentation Group: Documentation/HTML
BuildRequires: python-Sphinx BuildRequires: python-Sphinx
BuildRequires: python-openstackdocstheme >= 1.11.0 BuildRequires: python-openstackdocstheme
%description doc %description -n python-heatclient-doc
This is a client for the OpenStack Heat API. There's a Python API (the 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 heatclient module), and a command-line script (heat). Each implements 100% of
the OpenStack Heat API. the OpenStack Heat API.
This package contains auto-generated documentation. This package contains auto-generated documentation.
%prep %prep
%autosetup -n %{sname}-%{version} %autosetup -p1 -n python-heatclient-1.13.0
%py_req_cleanup %py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build %build
%{py2_build} %{python_build}
%{__python2} setup.py build_sphinx --builder=html,man %{__python2} setup.py build_sphinx --builder=html,man
# remove the sphinx-build leftovers # remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo} rm -rf doc/build/html/.{doctrees,buildinfo}
%install %install
%{py2_install} %{python_install}
# man page # man page
install -p -D -m 644 doc/build/man/heat.1 %{buildroot}%{_mandir}/man1/heat.1 install -p -D -m 644 doc/build/man/heat.1 %{buildroot}%{_mandir}/man1/heat.1
# bash completion # bash completion
install -p -D -m 644 tools/heat.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/%{name} install -p -D -m 644 tools/heat.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/heat.bash_completion
%python_clone -a %{buildroot}%{_bindir}/heat
%python_clone -a %{buildroot}%{_mandir}/man1/heat.1
%python_clone -a %{buildroot}%{_sysconfdir}/bash_completion.d/heat.bash_completion
%post
%{python_install_alternative heat heat.1 %{_sysconfdir}/bash_completion.d/heat.bash_completion}
%postun
%python_uninstall_alternative heat
%check %check
%{__python2} setup.py testr %{python_expand rm -rf .testrepository
$python setup.py testr
}
%files %files %{python_files}
%doc README.rst
%license LICENSE %license LICENSE
%{python2_sitelib}/heatclient %{python_sitelib}/heatclient
%{python2_sitelib}/*.egg-info %{python_sitelib}/*.egg-info
%{_sysconfdir}/bash_completion.d//%{name} %python_alternative %{_bindir}/heat
%{_mandir}/man1/heat.1.gz %python_alternative %{_mandir}/man1/heat.1
%{_bindir}/heat %python_alternative %{_sysconfdir}/bash_completion.d/heat.bash_completion
%files doc %files -n python-heatclient-doc
%license LICENSE %license LICENSE
%doc doc/build/html %doc doc/build/html README.rst
%changelog %changelog