Fix requires position and add pbr buildrequires

This commit is contained in:
huangtianhua 2021-07-31 08:50:08 +00:00
parent dd8ea55504
commit e41a72741f

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-networking-baremetal Name: python-networking-baremetal
Version: 3.0.0 Version: 3.0.0
Release: 1 Release: 2
Summary: Neutron plugin that provides deep Ironic/Neutron integration. Summary: Neutron plugin that provides deep Ironic/Neutron integration.
License: ASL 2.0 License: ASL 2.0
URL: https://docs.openstack.org/networking-baremetal/latest/ 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 Source1: ironic-neutron-agent.service
BuildArch: noarch 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 %description
This project's goal is to provide deep integration between the Networking This project's goal is to provide deep integration between the Networking
service and the Bare Metal service and advanced networking features like service and the Bare Metal service and advanced networking features like
@ -38,8 +18,46 @@ with Bare Metal service.
%package -n python3-networking-baremetal %package -n python3-networking-baremetal
Summary: Neutron plugin that provides deep Ironic/Neutron integration. Summary: Neutron plugin that provides deep Ironic/Neutron integration.
Provides: python-networking-baremetal Provides: python-networking-baremetal
# Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools 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 %description -n python3-networking-baremetal
This project's goal is to provide deep integration between the Networking This project's goal is to provide deep integration between the Networking
service and the Bare Metal service and advanced networking features like service and the Bare Metal service and advanced networking features like
@ -106,5 +124,7 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Sat Jul 31 2021 huangtianhua <huangtianhua@huawei.com>
- Fix requires position and add pbr buildrequires
* Wed Mar 10 2021 Python_Bot <Python_Bot@openeuler.org> * Wed Mar 10 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated