1
0

- update to version 0.9.0:

* Refactor compute for new resource/proxy
  * Allow alternate_id to be accessed directly
  * Add neutron rbac support
  * Updated from global requirements
  * Add temporary test_proxy_base2
  * Add segment_id property to subnet resource
  * Allow resources to check their equality
  * Remove type=timestamp usages
  * Cluster user guide - part 2
  * Move version definition
  * Fix clustering event properties
- update _service and switch to upstream .spec file

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=8
This commit is contained in:
Thomas Bechtold
2016-07-22 15:04:54 +00:00
committed by Git OBS Bridge
parent 3255a462ec
commit e8c0ca4248
5 changed files with 71 additions and 51 deletions

View File

@@ -16,69 +16,72 @@
#
%define version_unconverted 0.8.5
%global sname openstacksdk
Name: python-openstacksdk
Version: 0.8.5
Version: 0.9.0
Release: 0
Summary: An SDK for building applications to work with OpenStack
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.openstack.org/
Source: https://pypi.python.org/packages/source/o/openstacksdk/openstacksdk-%{version}.tar.gz
Url: https://launchpad.net/%{sname}
Source: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python-fixtures
BuildRequires: python-iso8601
BuildRequires: python-keystoneauth1
BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-os-client-config
BuildRequires: python-os-testr
BuildRequires: python-oslo.utils
BuildRequires: python-pbr >= 1.8
BuildRequires: python-python-subunit
BuildRequires: python-requests-mock
BuildRequires: python-setuptools
BuildRequires: python-testrepository
BuildRequires: python-testscenarios
BuildRequires: python-testtools
Requires: python-iso8601 >= 0.1.9
BuildRequires: python-pbr >= 1.6
BuildRequires: python-setuptools >= 16.0
BuildRequires: python-six >= 1.9.0
BuildRequires: python-stevedore >= 1.10.0
Requires: python-keystoneauth1 >= 2.1.0
Requires: python-requests >= 2.8.1
Requires: python-os-client-config >= 1.13.1
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.5.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
Requires: python-stevedore >= 1.10.0
BuildArch: noarch
%endif
%description
The ``python-openstacksdk`` is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to provide
a consistent and complete set of interactions with OpenStack's many
services, along with complete documentation, examples, and tools.
The python-openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to
provide a consistent and complete set of interactions with OpenStack's
many services, along with complete documentation, examples, and tools.
This SDK is under active development, and in the interests of providing
a high-quality interface, the APIs provided in this release may differ
from those provided in future release.
%package doc
Summary: %{summary} - Documentation
Group: Documentation/HTML
BuildRequires: python-Sphinx
BuildRequires: python-keystoneauth1 >= 2.1.0
BuildRequires: python-openstackdocstheme >= 1.0.3
BuildRequires: python-os-client-config >= 1.13.1
Requires: %{name} = %{version}
%description doc
The python-openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to
provide a consistent and complete set of interactions with OpenStack's
many services, along with complete documentation, examples, and tools.
This package contains documentation files for %{name}.
%prep
%setup -q -n openstacksdk-%{version}
%setup -q -n %{sname}-%{version}
%build
python setup.py build
%py2_build
%{__python2} setup.py build_sphinx
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%py2_install
## %check
## python setup.py testr
%check
%{__python2} setup.py testr
%files
%defattr(-,root,root,-)
%doc LICENSE ChangeLog README.rst AUTHORS
%{python_sitelib}/*
%license LICENSE
%doc ChangeLog README.rst
%{python2_sitelib}/openstack
%{python2_sitelib}/*.egg-info
%files doc
%license LICENSE
%doc doc/build/html
%changelog