2020-12-14 16:22:50 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
2021-07-13 18:57:25 +08:00
|
|
|
Name: python-amqp
|
2022-05-31 01:22:44 +00:00
|
|
|
Version: 5.0.9
|
|
|
|
|
Release: 1
|
2021-07-13 18:57:25 +08:00
|
|
|
Summary: Low-level AMQP client for Python (fork of amqplib).
|
2022-05-10 16:48:20 +08:00
|
|
|
License: BSD-3-Clause
|
2021-07-13 18:57:25 +08:00
|
|
|
URL: http://github.com/celery/py-amqp
|
2022-05-31 01:22:44 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/98/40/c6ea25c5c701634a0bd700a9362185f7f0981f52a406f30dc320ea27ae31/amqp-5.0.9.tar.gz
|
2021-07-13 18:57:25 +08:00
|
|
|
BuildArch: noarch
|
2020-12-14 16:22:50 +08:00
|
|
|
%description
|
2021-07-13 18:57:25 +08:00
|
|
|
This is a fork of amqplib which was originally written by Barry Pederson.
|
|
|
|
|
It is maintained by the Celery project, and used by kombu as a pure python
|
|
|
|
|
alternative when librabbitmq is not available.
|
|
|
|
|
This library should be API compatible with librabbitmq.
|
2020-12-14 16:22:50 +08:00
|
|
|
|
|
|
|
|
%package -n python3-amqp
|
2021-07-13 18:57:25 +08:00
|
|
|
Summary: Low-level AMQP client for Python (fork of amqplib).
|
|
|
|
|
Provides: python-amqp
|
|
|
|
|
# Base build requires
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-pbr
|
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
# General requires
|
|
|
|
|
BuildRequires: python3-vine
|
|
|
|
|
# General requires
|
|
|
|
|
Requires: python3-vine
|
2020-12-14 16:22:50 +08:00
|
|
|
%description -n python3-amqp
|
2021-07-13 18:57:25 +08:00
|
|
|
This is a fork of amqplib which was originally written by Barry Pederson.
|
|
|
|
|
It is maintained by the Celery project, and used by kombu as a pure python
|
|
|
|
|
alternative when librabbitmq is not available.
|
|
|
|
|
This library should be API compatible with librabbitmq.
|
2020-12-14 16:22:50 +08:00
|
|
|
|
|
|
|
|
%package help
|
2021-07-13 18:57:25 +08:00
|
|
|
Summary: Low-level AMQP client for Python (fork of amqplib).
|
|
|
|
|
Provides: python3-amqp-doc
|
2020-12-14 16:22:50 +08:00
|
|
|
%description help
|
2021-07-13 18:57:25 +08:00
|
|
|
This is a fork of amqplib which was originally written by Barry Pederson.
|
|
|
|
|
It is maintained by the Celery project, and used by kombu as a pure python
|
|
|
|
|
alternative when librabbitmq is not available.
|
|
|
|
|
This library should be API compatible with librabbitmq.
|
2020-12-14 16:22:50 +08:00
|
|
|
|
|
|
|
|
%prep
|
2022-05-31 01:22:44 +00:00
|
|
|
%autosetup -n amqp-%{version}
|
2020-12-14 16:22:50 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
2022-05-31 01:22:44 +00:00
|
|
|
|
2020-12-14 16:22:50 +08:00
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
pushd %{buildroot}
|
|
|
|
|
if [ -d usr/lib ]; then
|
2021-07-13 18:57:25 +08:00
|
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-14 16:22:50 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/lib64 ]; then
|
2021-07-13 18:57:25 +08:00
|
|
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-14 16:22:50 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/bin ]; then
|
2021-07-13 18:57:25 +08:00
|
|
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-14 16:22:50 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/sbin ]; then
|
2021-07-13 18:57:25 +08:00
|
|
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-14 16:22:50 +08:00
|
|
|
fi
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
2021-07-13 18:57:25 +08:00
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
2020-12-14 16:22:50 +08:00
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/filelist.lst .
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
|
|
|
|
|
|
|
|
|
%files -n python3-amqp -f filelist.lst
|
|
|
|
|
%dir %{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%files help -f doclist.lst
|
|
|
|
|
%{_docdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-05-31 01:22:44 +00:00
|
|
|
* Mon May 30 2022 OpenStack_SIG <openstack@openeuler.org> - 5.0.9-1
|
|
|
|
|
- Upgrade package python3-amqp of version 5.0.9
|
|
|
|
|
|
2022-05-10 16:48:20 +08:00
|
|
|
* Tue May 10 2022 wulei <wulei80@h-partners.com> - 5.0.5-2
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2021-07-13 18:57:25 +08:00
|
|
|
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 5.0.5-1
|
|
|
|
|
- Upgrade to version 5.0.5
|
|
|
|
|
|
2020-12-14 16:22:50 +08:00
|
|
|
* Sat Nov 21 2020 Python_Bot <Python_Bot@openeuler.org>
|
|
|
|
|
- Package Spec generated
|