From 3de7ac5dfde500ddbb13d41f8f0bd930ce70a41141b0452b2fcbb5aeb2e87201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 10 Jan 2018 12:17:55 +0000 Subject: [PATCH] Accepting request 563283 from home:pluskalm:branches:devel:languages:python - Fix building on pre Factory distros by not running test suite (which fails due to old sasl) OBS-URL: https://build.opensuse.org/request/show/563283 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=47 --- python-amqp.changes | 6 ++++++ python-amqp.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) 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,-)