14
0
forked from pool/python-amqp

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
This commit is contained in:
2018-01-10 12:17:55 +00:00
committed by Git OBS Bridge
parent 9d8d902958
commit 3de7ac5dfd
2 changed files with 10 additions and 4 deletions

View File

@@ -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

View File

@@ -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,-)