!10 Upgrade package version for OpenStack Wallaby support
From: @sean-lau Reviewed-by: Signed-off-by:
This commit is contained in:
commit
cdfb14964f
Binary file not shown.
BIN
amqp-5.0.5.tar.gz
Normal file
BIN
amqp-5.0.5.tar.gz
Normal file
Binary file not shown.
@ -1,38 +1,53 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-amqp
|
Name: python-amqp
|
||||||
Version: 5.0.2
|
Version: 5.0.5
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Low-level AMQP client for Python (fork of amqplib).
|
Summary: Low-level AMQP client for Python (fork of amqplib).
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://github.com/celery/py-amqp
|
URL: http://github.com/celery/py-amqp
|
||||||
Source0: https://files.pythonhosted.org/packages/82/14/649aa1fb49f571a34ac61b2d49f13444262b31fcc45d5d37992527b2d63f/amqp-5.0.2.tar.gz
|
Source0: https://files.pythonhosted.org/packages/77/b5/c5462dab48794185d041f755f3a6f0e445c5a34a14c33222e97d19a7c4c3/amqp-5.0.5.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-vine
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Low-level AMQP client for Python (fork of amqplib).
|
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.
|
||||||
|
|
||||||
%package -n python3-amqp
|
%package -n python3-amqp
|
||||||
Summary: Low-level AMQP client for Python (fork of amqplib).
|
Summary: Low-level AMQP client for Python (fork of amqplib).
|
||||||
Provides: python-amqp
|
Provides: python-amqp
|
||||||
BuildRequires: python3-devel
|
# Base build requires
|
||||||
BuildRequires: python3-setuptools
|
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
|
||||||
%description -n python3-amqp
|
%description -n python3-amqp
|
||||||
|
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.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for amqp
|
Summary: Low-level AMQP client for Python (fork of amqplib).
|
||||||
Provides: python3-amqp-doc
|
Provides: python3-amqp-doc
|
||||||
%description help
|
%description help
|
||||||
|
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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n amqp-5.0.2
|
%autosetup -n amqp-5.0.5
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
@ -42,20 +57,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/lib64 ]; then
|
if [ -d usr/lib64 ]; then
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/bin ]; then
|
if [ -d usr/bin ]; then
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/sbin ]; then
|
if [ -d usr/sbin ]; then
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
touch doclist.lst
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
if [ -d usr/share/man ]; then
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
@ -64,9 +79,13 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%files -n python3-amqp -f filelist.lst
|
%files -n python3-amqp -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 5.0.5-1
|
||||||
|
- Upgrade to version 5.0.5
|
||||||
|
|
||||||
* Sat Nov 21 2020 Python_Bot <Python_Bot@openeuler.org>
|
* Sat Nov 21 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user