diff --git a/python-amqp.changes b/python-amqp.changes index 35219d7..991c137 100644 --- a/python-amqp.changes +++ b/python-amqp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 10 12:14:22 UTC 2018 - mpluskal@suse.com + +- Fix building on pre Factory distros by not running test suite + (which fails due to old sasl) + ------------------------------------------------------------------- Tue Nov 14 23:22:19 UTC 2017 - dmueller@suse.com diff --git a/python-amqp.spec b/python-amqp.spec index 5015727..b330d51 100644 --- a/python-amqp.spec +++ b/python-amqp.spec @@ -1,7 +1,7 @@ # # spec file for package python-amqp # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -23,7 +23,7 @@ Release: 0 Summary: Low-level AMQP client for Python (fork of amqplib) License: LGPL-2.1+ Group: Development/Languages/Python -Url: http://github.com/celery/py-amqp +URL: http://github.com/celery/py-amqp Source: https://pypi.io/packages/source/a/amqp/amqp-%{version}.tar.gz Source99: %{name}.changes BuildRequires: %{python_module case} @@ -34,9 +34,7 @@ BuildRequires: %{python_module vine} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-vine >= 1.1.3 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -55,8 +53,10 @@ This library should be API compatible with librabbitmq. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if 0%{?suse_version} > 1320 %check %python_exec %{_bindir}/py.test +%endif %files %python_files %defattr(-,root,root,-)