Hello community, here is the log from the commit of package python-proboscis for openSUSE:Factory checked in at 2017-08-28 15:16:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-proboscis (Old) and /work/SRC/openSUSE:Factory/.python-proboscis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-proboscis" Mon Aug 28 15:16:05 2017 rev:3 rq:518664 version:1.2.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-proboscis/python-proboscis.changes 2013-10-21 12:32:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-proboscis.new/python-proboscis.changes 2017-08-28 15:17:30.845784805 +0200 @@ -1,0 +2,5 @@ +Fri Aug 25 07:50:16 UTC 2017 - [email protected] + +- convert to singlespec + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-proboscis.spec ++++++ --- /var/tmp/diff_new_pack.wxJn50/_old 2017-08-28 15:17:32.449559445 +0200 +++ /var/tmp/diff_new_pack.wxJn50/_new 2017-08-28 15:17:32.453558884 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-proboscis # -# Copyright (c) 2013 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 # remain the property of their copyright owners, unless otherwise agreed @@ -13,25 +13,26 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-proboscis Version: 1.2.6.0 Release: 0 -License: Apache-2.0 Summary: Extends Nose with certain TestNG like features -Url: https://github.com/rackspace/python-proboscis +License: Apache-2.0 Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/p/proboscis/proboscis-%{version}.tar.gz -BuildRequires: python-devel +Url: https://github.com/rackspace/python-proboscis +Source: https://files.pythonhosted.org/packages/source/p/proboscis/proboscis-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: python-rpm-macros # Test requirements: -BuildRequires: python-nose +BuildRequires: %{python_module nose} 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 Proboscis is a Python test framework that extends Python's built-in unittest module and Nose with features from TestNG. @@ -40,15 +41,15 @@ %setup -q -n proboscis-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %check -python setup.py test +%python_exec setup.py test -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst %{python_sitelib}/*
