Hello community,
here is the log from the commit of package python-openstack.nose_plugin for openSUSE:Factory checked in at 2019-01-03 18:08:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openstack.nose_plugin (Old)
and /work/SRC/openSUSE:Factory/.python-openstack.nose_plugin.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openstack.nose_plugin"
Thu Jan 3 18:08:18 2019 rev:7 rq:662400 version:0.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-openstack.nose_plugin/python-openstack.nose_plugin.changes 2015-09-02 07:53:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-openstack.nose_plugin.new.28833/python-openstack.nose_plugin.changes 2019-01-03 18:08:26.388043791 +0100
@@ -1,0 +2,5 @@
+Wed Jan 2 09:47:34 UTC 2019 - Thomas Bechtold
+
+- convert to singlespec
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openstack.nose_plugin.spec ++++++
--- /var/tmp/diff_new_pack.1kTVMH/_old 2019-01-03 18:08:27.044043210 +0100
+++ /var/tmp/diff_new_pack.1kTVMH/_new 2019-01-03 18:08:27.052043202 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-openstack.nose_plugin
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,10 +12,11 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-openstack.nose_plugin
Version: 0.11
Release: 0
@@ -24,18 +25,14 @@
Group: Development/Languages/Python
Url: https://github.com/jkoelker/openstack-nose
Source: http://pypi.python.org/packages/source/o/openstack.nose_plugin/openstack.nose_plugin-%{version}.tar.gz
+BuildRequires: %{python_module setuptools}
BuildRequires: openstack-suse-macros
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+BuildRequires: python-rpm-macros
Requires: python-colorama
Requires: python-nose
Requires: python-termcolor
-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
-%endif
+
+%python_subpackages
%description
openstack.nose_plugin provides a nose plugin that allow's nosetests output to
@@ -45,14 +42,14 @@
%setup -q -n openstack.nose_plugin-%{version}
%build
-%{__python2} setup.py build
+%python_build
%install
-%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
-%{python2_sitelib}/*
+%{python_sitelib}/*
%changelog