Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5133cb561e !19 [sync] PR-17: Fix build issue
From: @openeuler-sync-bot
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
2021-11-15 01:59:43 +00:00
wangxiyuan
208381f831 Fix build issue
(cherry picked from commit 53f385fea639fbc7894737466ed22a434732314f)
2021-11-15 09:59:13 +08:00
openeuler-ci-bot
0045e7ed20 !16 downgrade to 2.1.0
From: @zhangy1317
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
2021-11-09 11:11:34 +00:00
zhangy1317
5b187c8399 downgrade to 2.1.0 2021-11-03 15:12:36 +08:00
openeuler-ci-bot
bbe36bac5f !13 update networking-generic-switch package for openstack wallaby
From: @liksh
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
2021-08-14 02:19:05 +00:00
liksh
4421780bdb update to 5.0.0 2021-08-10 19:00:54 +08:00
openeuler-ci-bot
a9826b5dde !3 Add source0 url
From: @zhaorenhai
Reviewed-by: @huangtianhua
Signed-off-by: @xiyuanwang
2021-03-15 17:20:42 +08:00
zhaorenhai
9f84a16615 Add source0 url 2021-03-15 08:46:37 +00:00
openeuler-ci-bot
786bb39aa8 !1 Init spec and package
From: @zhaorenhai
Reviewed-by: @huangtianhua
Signed-off-by: @xiyuanwang
2021-03-15 14:53:07 +08:00
zhaorenhai
8e8ab030bd Init spec and package 2021-03-13 07:14:28 +00:00
2 changed files with 117 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,117 @@
%global _empty_manifest_terminate_build 0
Name: python-networking-generic-switch
Version: 2.1.0
Release: 2
Summary: Generic Switch ML2 Neutron Driver
License: Apache-2.0
URL: https://github.com/openstack/networking-generic-switch
Source0: https://files.pythonhosted.org/packages/b3/d0/a409be8d504610436d4cbef6bc9b631fe066d68eb1755ae4fe2a726c4ecc/networking-generic-switch-2.1.0.tar.gz
BuildArch: noarch
%description
The Modular Layer 2 (ml2) plugin driver, that allow to work with switches
from different vendors. It uses netmiko library that configures equipment
via SSH.
%package -n python3-networking-generic-switch
Summary: Generic Switch ML2 Neutron Driver
Provides: python-networking-generic-switch
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-stevedore
BuildRequires: python3-netmiko
BuildRequires: python3-neutron
BuildRequires: python3-neutron-lib
BuildRequires: python3-oslo-config
BuildRequires: python3-oslo-i18n
BuildRequires: python3-oslo-log
BuildRequires: python3-oslo-utils
BuildRequires: python3-six
BuildRequires: python3-tenacity
BuildRequires: python3-tooz
BuildRequires: python3-os-xenapi
# General requires
Requires: python3-stevedore
Requires: python3-netmiko
Requires: python3-neutron
Requires: python3-neutron-lib
Requires: python3-oslo-config
Requires: python3-oslo-i18n
Requires: python3-oslo-log
Requires: python3-oslo-utils
Requires: python3-os-xenapi
Requires: python3-six
Requires: python3-tenacity
Requires: python3-tooz
%description -n python3-networking-generic-switch
The Modular Layer 2 (ml2) plugin driver, that allow to work with switches
from different vendors. It uses netmiko library that configures equipment
via SSH.
%package help
Summary: Generic Switch ML2 Neutron Driver
Provides: python3-networking-generic-switch-doc
%description help
The Modular Layer 2 (ml2) plugin driver, that allow to work with switches
from different vendors. It uses netmiko library that configures equipment
via SSH.
%prep
%autosetup -n networking-generic-switch-%{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
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
fi
if [ -d usr/lib64 ]; then
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
fi
if [ -d usr/sbin ]; then
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
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
%{__python3} -m stestr.cli run
%files -n python3-networking-generic-switch -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Mon Nov 15 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 2.1.0-2
- Fix build issue
* Fri Oct 29 2021 OpenStack_SIG <openstack@openeuler.org> - 2.1.0-1
- downgrade to 2.1.0
* Thu Jul 15 2021 liksh <liks11@chinaunicom.cn> - 5.0.0-1
- update 4.0.1 to 5.0.0
* Mon Mar 15 2021 zhaorenhai <zhaorenhai@hotmail.com> - 4.0.1-2
- Add source0 url
* Sat Mar 13 2021 zhaorenhai <zhaorenhai@hotmail.com>
- Initial package