From fb76cd8ecb31519ab494d13e4dd2ad153e953cbf Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Sat, 31 Jul 2021 08:50:08 +0000 Subject: [PATCH] Fix requires position and add pbr buildrequires (cherry picked from commit e41a72741f9a9b5367b41c43c0cfce34d249c266) --- python-networking-baremetal.spec | 66 +++++++++++++++++++++----------- 1 file changed, 43 insertions(+), 23 deletions(-) diff --git a/python-networking-baremetal.spec b/python-networking-baremetal.spec index f8be02f..5f794e3 100644 --- a/python-networking-baremetal.spec +++ b/python-networking-baremetal.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-networking-baremetal Version: 3.0.0 -Release: 1 +Release: 2 Summary: Neutron plugin that provides deep Ironic/Neutron integration. License: ASL 2.0 URL: https://docs.openstack.org/networking-baremetal/latest/ @@ -9,26 +9,6 @@ Source0: https://files.pythonhosted.org/packages/2f/77/0d03ca4ffcb70deeabb21b042 Source1: ironic-neutron-agent.service BuildArch: noarch -Requires: python3-keystoneauth1 -Requires: python3-neutron-lib -Requires: python3-neutron -Requires: python3-openstacksdk -Requires: python3-oslo-config -Requires: python3-oslo-i18n -Requires: python3-oslo-log -Requires: python3-oslo-utils -Requires: python3-oslo-messaging -Requires: python3-oslo-service -Requires: python3-pbr -Requires: python3-tenacity -Requires: python3-tooz - -BuildRequires: systemd -Requires(post): systemd -Requires(postun): systemd -Requires(pre): shadow-utils -Requires(preun): systemd - %description This project's goal is to provide deep integration between the Networking service and the Bare Metal service and advanced networking features like @@ -38,8 +18,46 @@ with Bare Metal service. %package -n python3-networking-baremetal Summary: Neutron plugin that provides deep Ironic/Neutron integration. Provides: python-networking-baremetal -BuildRequires: python3-devel -BuildRequires: python3-setuptools +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# General requires +BuildRequires: python3-keystoneauth1 +BuildRequires: python3-neutron-lib +BuildRequires: python3-neutron +BuildRequires: python3-openstacksdk +BuildRequires: python3-oslo-config +BuildRequires: python3-oslo-i18n +BuildRequires: python3-oslo-log +BuildRequires: python3-oslo-messaging +BuildRequires: python3-oslo-service +BuildRequires: python3-oslo-utils +BuildRequires: python3-tenacity +BuildRequires: python3-tooz +# General requires +Requires: python3-keystoneauth1 +Requires: python3-neutron-lib +Requires: python3-neutron +Requires: python3-openstacksdk +Requires: python3-oslo-config +Requires: python3-oslo-i18n +Requires: python3-oslo-log +Requires: python3-oslo-messaging +Requires: python3-oslo-service +Requires: python3-oslo-utils +Requires: python3-pbr +Requires: python3-tenacity +Requires: python3-tooz + +BuildRequires: systemd +Requires(post): systemd +Requires(postun): systemd +Requires(pre): shadow-utils +Requires(preun): systemd + %description -n python3-networking-baremetal This project's goal is to provide deep integration between the Networking service and the Bare Metal service and advanced networking features like @@ -106,5 +124,7 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Sat Jul 31 2021 huangtianhua +- Fix requires position and add pbr buildrequires * Wed Mar 10 2021 Python_Bot - Package Spec generated -- Gitee