Hello community,
here is the log from the commit of package python-ravello-sdk for
openSUSE:Factory checked in at 2017-09-28 12:35:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ravello-sdk (Old)
and /work/SRC/openSUSE:Factory/.python-ravello-sdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ravello-sdk"
Thu Sep 28 12:35:52 2017 rev:4 rq:529070 version:2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ravello-sdk/python-ravello-sdk.changes
2017-07-12 19:35:26.953067481 +0200
+++
/work/SRC/openSUSE:Factory/.python-ravello-sdk.new/python-ravello-sdk.changes
2017-09-28 12:35:56.954796916 +0200
@@ -1,0 +2,5 @@
+Wed Sep 27 21:41:03 UTC 2017 - [email protected]
+
+- Migrate to single spec.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ravello-sdk.spec ++++++
--- /var/tmp/diff_new_pack.aUk6PK/_old 2017-09-28 12:35:57.418731680 +0200
+++ /var/tmp/diff_new_pack.aUk6PK/_new 2017-09-28 12:35:57.422731117 +0200
@@ -16,6 +16,7 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ravello-sdk
Version: 2.4
Release: 0
@@ -23,22 +24,19 @@
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/ravello/python-sdk
-Source:
https://pypi.io/packages/source/r/ravello-sdk/ravello-sdk-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-docopt
-BuildRequires: python-requests >= 2.6.0
-BuildRequires: python-setuptools
-BuildRequires: python-six
+Source:
https://files.pythonhosted.org/packages/source/r/ravello-sdk/ravello-sdk-%{version}.tar.gz
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module docopt}
+BuildRequires: %{python_module requests >= 2.6.0}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module six}
+BuildRequires: python-rpm-macros
Requires: python-docopt
Requires: python-requests >= 2.6.0
Requires: python-six
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()")}
-BuildRequires: python-unittest2
-%else
BuildArch: noarch
-%endif
+%python_subpackages
%description
This is a micro-SDK for accessing the Ravello API in Python. It also contains
@@ -48,15 +46,15 @@
%setup -q -n ravello-sdk-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
%check
python tests/unit.py
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python_sitelib}/*