15
0

Accepting request 518050 from home:tbechtold:branches:devel:languages:python

- convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/518050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika-pool?expand=0&rev=4
This commit is contained in:
2017-08-22 06:32:50 +00:00
committed by Git OBS Bridge
parent 24d0a3992d
commit dcc95a37fd
2 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 22 06:30:08 UTC 2017 - tbechtold@suse.com
- convert to singlespec
-------------------------------------------------------------------
Wed Apr 13 19:59:02 UTC 2016 - dmueller@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pika-pool
#
# Copyright (c) 2016 SUSE LINUX 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
@@ -24,12 +24,14 @@ License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/bninja/pika-pool
Source: https://pypi.python.org/packages/source/p/pika-pool/pika-pool-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-pika >= 0.9
BuildRequires: python-setuptools
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pika >= 0.9}
BuildRequires: %{python_module setuptools}
Requires: python-pika >= 0.9
BuildArch: noarch
%python_subpackages
%description
Pika connection pooling inspired by:
@@ -42,14 +44,14 @@ Typically you'll go with local `shovels <https://www.rabbitmq.com/shovel.html>`_
%setup -q -n pika-pool-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%{python_sitelib}/pika*
%{python_sitelib}/*
%changelog