diff --git a/networking-generic-switch-5.0.0.tar.gz b/networking-generic-switch-5.0.0.tar.gz new file mode 100644 index 0000000..241ba25 Binary files /dev/null and b/networking-generic-switch-5.0.0.tar.gz differ diff --git a/networking-generic-switch-stable-victoria.tar.gz b/networking-generic-switch-stable-victoria.tar.gz deleted file mode 100644 index af492e9..0000000 Binary files a/networking-generic-switch-stable-victoria.tar.gz and /dev/null differ diff --git a/python-networking-generic-switch.spec b/python-networking-generic-switch.spec index 7554fbe..c8f4f4e 100644 --- a/python-networking-generic-switch.spec +++ b/python-networking-generic-switch.spec @@ -1,11 +1,14 @@ -Name: python3-networking-generic-switch -Version: 4.0.1 -Release: 2 +%global common_desc 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. +Name: networking-generic-switch +Version: 5.0.0 +Release: 1 Summary: Generic Switch ML2 Neutron Driver License: ASL 2.0 Group: Development/Languages/Python URL: https://launchpad.net/networking-generic-switch -Source0: https://tarballs.openstack.org/networking-generic-switch/networking-generic-switch-stable-victoria.tar.gz +Source0: https://files.pythonhosted.org/packages/a1/7a/d3b4143c27c4c29700685273512233665950c4085fefdb4ba6b7464608a2/networking-generic-switch-5.0.0.tar.gz BuildRequires: fdupes BuildRequires: openstack-macros BuildRequires: python3-netmiko @@ -38,13 +41,13 @@ Requires: python3-tooz BuildArch: noarch %description -This is a Modular Layer 2 `Neutron Mechanism driver -`_. The mechanism driver is -responsible for applying configuration information to hardware equipment. -``GenericSwitch`` provides a pluggable framework to implement -functionality required for use-cases like OpenStack Ironic multi-tenancy mode. -It abstracts applying changes to all switches managed by this ML2 plugin -and handling ``local_link_information`` field of Neutron port. +%{common_desc} + +%package -n python3-networking_generic_switch +Summary: Generic Switch ML2 Neutron Driver + +%description -n python3-networking_generic_switch +%{common_desc} %package doc Summary: Generic Switch ML2 Neutron Driver Doc @@ -57,13 +60,11 @@ BuildRequires: python3-sphinxcontrib-apidoc Documentation for OpenStack Generic Switch ML2 Neutron Driver. %prep -%autosetup -p1 -n networking-generic-switch-4.0.1.dev4 +%autosetup %py_req_cleanup %build %{py3_build} - -PBR_VERSION=4.0.1.dev4 sphinx-build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} @@ -74,7 +75,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo} %check %{__python3} -m stestr.cli run -%files +%files -n python3-networking_generic_switch %license LICENSE %doc README.rst %{python3_sitelib}/networking_generic_switch @@ -82,9 +83,11 @@ rm -rf doc/build/html/.{doctrees,buildinfo} %files doc %license LICENSE -%doc doc/build/html %changelog +* Thu Jul 15 2021 liksh - 5.0.0-1 +- update 4.0.1 to 5.0.0 + * Mon Mar 15 2021 zhaorenhai - 4.0.1-2 - Add source0 url