!18 Update package networking-baremetal of version 1.4.0
From: @sean-lau Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
e81b1b36ed
BIN
networking-baremetal-1.4.0.tar.gz
Normal file
BIN
networking-baremetal-1.4.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,14 +1,12 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-networking-baremetal
|
||||
Version: 4.0.0
|
||||
Release: 2
|
||||
Summary: Neutron plugin that provides deep Ironic/Neutron integration.
|
||||
License: ASL 2.0
|
||||
URL: https://docs.openstack.org/networking-baremetal/latest/
|
||||
Source0: https://files.pythonhosted.org/packages/0d/af/94c8cadf4e26457f6e44fa025c151569d6cff5a2ab42b01927420d3beb78/networking-baremetal-4.0.0.tar.gz
|
||||
Source1: ironic-neutron-agent.service
|
||||
BuildArch: noarch
|
||||
|
||||
Name: python-networking-baremetal
|
||||
Version: 1.4.0
|
||||
Release: 1
|
||||
Summary: Neutron plugin that provides deep Ironic/Neutron integration.
|
||||
License: Apache-2.0
|
||||
URL: https://docs.openstack.org/networking-baremetal/latest/
|
||||
Source0: https://files.pythonhosted.org/packages/05/ae/e63af7a207b33d326034a0765cef68bf60b3bc2fb45d576c631ccd165db7/networking-baremetal-1.4.0.tar.gz
|
||||
BuildArch: noarch
|
||||
%description
|
||||
This project's goal is to provide deep integration between the Networking
|
||||
service and the Bare Metal service and advanced networking features like
|
||||
@ -16,8 +14,8 @@ notifications of port status changes and routed networks support in clouds
|
||||
with Bare Metal service.
|
||||
|
||||
%package -n python3-networking-baremetal
|
||||
Summary: Neutron plugin that provides deep Ironic/Neutron integration.
|
||||
Provides: python-networking-baremetal
|
||||
Summary: Neutron plugin that provides deep Ironic/Neutron integration.
|
||||
Provides: python-networking-baremetal
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
@ -25,40 +23,26 @@ 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-oslo-messaging
|
||||
BuildRequires: python3-ironicclient
|
||||
BuildRequires: python3-tooz
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-neutron
|
||||
# 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-oslo-messaging
|
||||
Requires: python3-pbr
|
||||
Requires: python3-tenacity
|
||||
Requires: python3-ironicclient
|
||||
Requires: python3-tooz
|
||||
|
||||
BuildRequires: systemd
|
||||
Requires(post): systemd
|
||||
Requires(postun): systemd
|
||||
Requires(pre): shadow-utils
|
||||
Requires(preun): systemd
|
||||
|
||||
Requires: python3-neutron
|
||||
%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
|
||||
@ -66,8 +50,8 @@ notifications of port status changes and routed networks support in clouds
|
||||
with Bare Metal service.
|
||||
|
||||
%package help
|
||||
Summary: Development documents and examples for networking-baremetal
|
||||
Provides: python3-networking-baremetal-doc
|
||||
Summary: Neutron plugin that provides deep Ironic/Neutron integration.
|
||||
Provides: python3-networking-baremetal-doc
|
||||
%description help
|
||||
This project's goal is to provide deep integration between the Networking
|
||||
service and the Bare Metal service and advanced networking features like
|
||||
@ -82,7 +66,7 @@ with Bare Metal service.
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ironic-neutron-agent.service
|
||||
|
||||
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
|
||||
@ -90,33 +74,25 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
touch doclist.lst
|
||||
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
|
||||
popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%post
|
||||
%systemd_post ironic-neutron-agent.service
|
||||
|
||||
%preun
|
||||
%systemd_preun ironic-neutron-agent.service
|
||||
|
||||
%postun
|
||||
%systemd_postun ironic-neutron-agent.service
|
||||
|
||||
%files -n python3-networking-baremetal -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
@ -125,6 +101,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 05 2021 OpenStack_SIG <openstack@openeuler.org> - 1.4.0-1
|
||||
- Downgrade package python3-networking-baremetal to version 1.4.0
|
||||
|
||||
* Thu Aug 19 liksh <liks11@chinaunicom.cn> 4.0.0-1
|
||||
- update from 3.0.0 to 4.0.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user