forked from pool/python-pika
Accepting request 518048 from home:tbechtold:branches:devel:languages:python
- switch to singlespec OBS-URL: https://build.opensuse.org/request/show/518048 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
4c32da52ec
commit
9923a4961e
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 22 06:27:00 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- switch to singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 16 11:20:03 UTC 2016 - tbechtold@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pika
|
||||
#
|
||||
# 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
|
||||
@@ -25,15 +25,14 @@ Url: http://pika.github.com/
|
||||
Summary: Pika Python AMQP Client Library
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.python.org/packages/source/p/pika/pika-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pika/pika-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%else
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Pika is a pure-Python implementation of the AMQP 0-9-1 protocol that
|
||||
@@ -45,12 +44,12 @@ should also work with other AMQP 0-9-1 brokers.
|
||||
%setup -q -n %{mod_name}-%{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 LICENSE
|
||||
# You may have to add additional files here (documentation and binaries mostly)
|
||||
|
Reference in New Issue
Block a user