Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:branches:devel:languages:python:misc
python-librabbitmq
python-librabbitmq.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-librabbitmq.spec of Package python-librabbitmq
# # spec file for package python-librabbitmq # # Copyright (c) 2019 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ %define rabbitmqc_version 0.8.0 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-librabbitmq Version: 2.0.0 Release: 0 License: GPL-2.0 and MPL-1.1 Summary: AMQP Client using the rabbitmq-c library Url: http://github.com/celery/librabbitmq Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/l/librabbitmq/librabbitmq-%{version}.tar.gz # Shared lib doesnt work https://github.com/celery/librabbitmq/issues/9 # and https://github.com/celery/librabbitmq/issues/135 Source1: https://github.com/alanxz/rabbitmq-c/archive/v%{rabbitmqc_version}.tar.gz#/rabbitmq-c-%{rabbitmqc_version}.tar.gz Patch0: merged_pr_150.patch BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module amqp >= 1.4.6} BuildRequires: %{python_module six >= 1.0.0} # /SECTION BuildRequires: fdupes Requires: python-amqp >= 1.4.6 Requires: python-six >= 1.0.0 %python_subpackages %description Python bindings to the RabbitMQ C-library `rabbitmq-c`_. Supported by Kombu and Celery. %prep %setup -q -n librabbitmq-%{version} tar -xzf %{SOURCE1} ln -s rabbitmq-c-%{rabbitmqc_version}/ rabbitmq-c %patch0 -p1 %build # export LIBRABBITMQ=./rabbitmq-c # Trick setup.py to bypass undesirable use of git-core mkdir ./rabbitmq-c/.git %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check # Need server running %python_exec setup.py test %files %{python_files} %doc AUTHORS Changelog README.rst %license LICENSE-GPL-2.0 LICENSE-MPL-RabbitMQ %{python_sitearch}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor