!16 Init for Train

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-11-12 03:56:49 +00:00 committed by Gitee
commit 2f997c9d53
3 changed files with 11 additions and 17 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,14 @@
%global _empty_manifest_terminate_build 0
Name: python-oslo-messaging
Version: 12.7.1
Version: 10.2.4
Release: 1
Summary: Oslo Messaging API
License: Apache-2.0
URL: https://docs.openstack.org/oslo.messaging/latest/
Source0: https://files.pythonhosted.org/packages/37/e0/8259fb99557c2d991296871a40313a690378def4e27c66d9c3970efa3472/oslo.messaging-12.7.1.tar.gz
Source0: https://files.pythonhosted.org/packages/fa/cb/20f80107139a124aa7f0aa5791e93b07294e2f738badf2cee8de6757af4a/oslo.messaging-10.2.4.tar.gz
BuildArch: noarch
%description
Team and repository tags .. Change things from this point onOslo Messaging
Team and repository tags .. Change things from this point onOslo Messaging
Library The Oslo messaging API supports RPC and notifications over a number of
different messaging transports.
@ -35,6 +35,7 @@ BuildRequires: python3-oslo-middleware
BuildRequires: python3-oslo-serialization
BuildRequires: python3-oslo-service
BuildRequires: python3-oslo-utils
BuildRequires: python3-six
BuildRequires: python3-stevedore
BuildRequires: python3-pyngus
# General requires
@ -52,10 +53,11 @@ Requires: python3-oslo-serialization
Requires: python3-oslo-service
Requires: python3-oslo-utils
Requires: python3-pbr
Requires: python3-six
Requires: python3-stevedore
Requires: python3-pyngus
%description -n python3-oslo-messaging
Team and repository tags .. Change things from this point onOslo Messaging
Team and repository tags .. Change things from this point onOslo Messaging
Library The Oslo messaging API supports RPC and notifications over a number of
different messaging transports.
@ -63,19 +65,19 @@ different messaging transports.
Summary: Oslo Messaging API
Provides: python3-oslo-messaging-doc
%description help
Team and repository tags .. Change things from this point onOslo Messaging
Team and repository tags .. Change things from this point onOslo Messaging
Library The Oslo messaging API supports RPC and notifications over a number of
different messaging transports.
%prep
%autosetup -n oslo.messaging-12.7.1
%autosetup -n oslo.messaging-%{version}
%build
%py3_build
%install
%py3_install
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
@ -102,21 +104,13 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
# confluent-kafka doesn't satisfy the requirement.
#%check
#%{__python3} setup.py test
%files -n python3-oslo-messaging -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Mon Jul 12 2021 OpenStack_SIG <openstack@openeuler.org> - 12.7.1-1
- Upgrade version
* Sat Jan 30 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires
* Fri Jan 08 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
* Fri Nov 12 2021 OpenStack_SIG <openstack@openeuler.org> - 10.2.4-1
- Init package with version 10.2.4 to support Train