forked from pool/python-apache-libcloud
- convert to singlespec
- update requires - update source url OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=69
This commit is contained in:
parent
f063e76dfc
commit
aa38acb927
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 16 16:37:05 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- convert to singlespec
|
||||||
|
- update requires
|
||||||
|
- update source url
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 30 20:51:53 UTC 2017 - aboe76@gmail.com
|
Sun Apr 30 20:51:53 UTC 2017 - aboe76@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-apache-libcloud
|
# spec file for package python-apache-libcloud
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 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
|
||||||
@ -15,7 +15,9 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#nospeccleaner
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-apache-libcloud
|
Name: python-apache-libcloud
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -23,43 +25,36 @@ Summary: Abstract away differences among multiple cloud provider APIs
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Url: https://libcloud.apache.org
|
Url: https://libcloud.apache.org
|
||||||
Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2
|
Source0: https://files.pythonhosted.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2
|
||||||
|
BuildRequires: %{python_module lxml}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
|
||||||
BuildRequires: python-xml
|
|
||||||
BuildRequires: python-lxml
|
|
||||||
BuildRequires: python-backports.ssl_match_hostname
|
|
||||||
Requires: python-simplejson
|
|
||||||
Requires: python-lxml
|
|
||||||
Requires: python-backports.ssl_match_hostname
|
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%endif
|
%endif
|
||||||
Requires(pre): %fillup_prereq
|
Requires: python-lxml
|
||||||
Requires(pre): %insserv_prereq
|
Requires: python-requests
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Apache Libcloud is a standard Python library that abstracts away
|
Apache Libcloud is a standard Python library that abstracts away
|
||||||
differences among multiple cloud provider APIs.
|
differences among multiple cloud provider APIs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n apache-libcloud-%{version}
|
%setup -q -n apache-libcloud-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
%fdupes %{buildroot}%{python_sitelib}/libcloud/test/
|
%fdupes %{buildroot}%{python_sitelib}/libcloud/test/
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE CHANGES.rst README.rst
|
%doc LICENSE CHANGES.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user