!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,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-oslo-messaging Name: python-oslo-messaging
Version: 12.7.1 Version: 10.2.4
Release: 1 Release: 1
Summary: Oslo Messaging API Summary: Oslo Messaging API
License: Apache-2.0 License: Apache-2.0
URL: https://docs.openstack.org/oslo.messaging/latest/ 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 BuildArch: noarch
%description %description
Team and repository tags .. Change things from this point onOslo Messaging Team and repository tags .. Change things from this point onOslo Messaging
@ -35,6 +35,7 @@ BuildRequires: python3-oslo-middleware
BuildRequires: python3-oslo-serialization BuildRequires: python3-oslo-serialization
BuildRequires: python3-oslo-service BuildRequires: python3-oslo-service
BuildRequires: python3-oslo-utils BuildRequires: python3-oslo-utils
BuildRequires: python3-six
BuildRequires: python3-stevedore BuildRequires: python3-stevedore
BuildRequires: python3-pyngus BuildRequires: python3-pyngus
# General requires # General requires
@ -52,6 +53,7 @@ Requires: python3-oslo-serialization
Requires: python3-oslo-service Requires: python3-oslo-service
Requires: python3-oslo-utils Requires: python3-oslo-utils
Requires: python3-pbr Requires: python3-pbr
Requires: python3-six
Requires: python3-stevedore Requires: python3-stevedore
Requires: python3-pyngus Requires: python3-pyngus
%description -n python3-oslo-messaging %description -n python3-oslo-messaging
@ -68,14 +70,14 @@ Library The Oslo messaging API supports RPC and notifications over a number of
different messaging transports. different messaging transports.
%prep %prep
%autosetup -n oslo.messaging-12.7.1 %autosetup -n oslo.messaging-%{version}
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -102,21 +104,13 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.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 %files -n python3-oslo-messaging -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Jul 12 2021 OpenStack_SIG <openstack@openeuler.org> - 12.7.1-1 * Fri Nov 12 2021 OpenStack_SIG <openstack@openeuler.org> - 10.2.4-1
- Upgrade version - Init package with version 10.2.4 to support Train
* Sat Jan 30 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires
* Fri Jan 08 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated