diff --git a/os_vif-1.9.1.tar.gz b/os_vif-1.9.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..955cb68332ef120e06cfc703cf4c892b3065977c Binary files /dev/null and b/os_vif-1.9.1.tar.gz differ diff --git a/os_vif-2.3.0.tar.gz b/os_vif-2.3.0.tar.gz deleted file mode 100644 index 98f049391812e2b9dac5f419fc5f979a56d1726b..0000000000000000000000000000000000000000 Binary files a/os_vif-2.3.0.tar.gz and /dev/null differ diff --git a/python-os-vif.spec b/python-os-vif.spec index c90b872c93a526e47e82eed3c90b585d3aa401c6..605af15145613015830f4b1d5620cd90759edd25 100644 --- a/python-os-vif.spec +++ b/python-os-vif.spec @@ -1,47 +1,136 @@ %global _empty_manifest_terminate_build 0 Name: python-os-vif -Version: 2.3.0 +Version: 1.9.1 Release: 2 Summary: A library for plugging and unplugging virtual interfaces in OpenStack. License: Apache-2.0 -URL: https://github.com/openstack/os-vif -Source0: https://files.pythonhosted.org/packages/15/17/30040c5e32d92f3e94616b8233bd74393ef62e97c165a2b111f32d76fb8e/os_vif-2.3.0.tar.gz +URL: https://docs.openstack.org/os-vif/latest/ +Source0: https://files.pythonhosted.org/packages/b7/ac/d23e20d82d0af3c66162964514abe672e2f23d9109d80f5ba50e30c2e83d/os_vif-1.9.1.tar.gz BuildArch: noarch +%description +======================== +Team and repository tags +======================== -Requires: python3-debtcollector -Requires: python3-netaddr -Requires: python3-ovsdbapp -Requires: python3-pbr -Requires: python3-stevedore -Requires: python3-pyroute2 +.. image:: http://governance.openstack.org/badges/os-vif.svg + :target: http://governance.openstack.org/reference/tags/index.html + +.. Change things from this point on + +====== +os-vif +====== + +.. image:: https://img.shields.io/pypi/v/os-vif.svg + :target: https://pypi.python.org/pypi/os-vif/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/os-vif.svg + :target: https://pypi.python.org/pypi/os-vif/ + :alt: Downloads -%description A library for plugging and unplugging virtual interfaces in OpenStack. -%package -n python3-os-vif +* License: Apache License, Version 2.0 +* Documentation: https://docs.openstack.org/os-vif/latest/ +* Source: https://git.openstack.org/cgit/openstack/os-vif +* Bugs: https://bugs.launchpad.net/os-vif + + + + +%package -n python2-os-vif Summary: A library for plugging and unplugging virtual interfaces in OpenStack. -Provides: python-os-vif -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-os-vif +Provides: python2-os-vif +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-pbr +Requires: python2-netaddr +Requires: python2-oslo-concurrency +Requires: python2-oslo-config +Requires: python2-oslo-log +Requires: python2-oslo-i18n +Requires: python2-oslo-privsep +Requires: python2-oslo-versionedobjects +Requires: python2-six +Requires: python2-stevedore +Requires: python2-pyroute2 +%description -n python2-os-vif +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/os-vif.svg + :target: http://governance.openstack.org/reference/tags/index.html + +.. Change things from this point on + +====== +os-vif +====== + +.. image:: https://img.shields.io/pypi/v/os-vif.svg + :target: https://pypi.python.org/pypi/os-vif/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/os-vif.svg + :target: https://pypi.python.org/pypi/os-vif/ + :alt: Downloads + A library for plugging and unplugging virtual interfaces in OpenStack. +* License: Apache License, Version 2.0 +* Documentation: https://docs.openstack.org/os-vif/latest/ +* Source: https://git.openstack.org/cgit/openstack/os-vif +* Bugs: https://bugs.launchpad.net/os-vif + + + + %package help Summary: Development documents and examples for os-vif -Provides: python3-os-vif-doc +Provides: python2-os-vif-doc %description help +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/os-vif.svg + :target: http://governance.openstack.org/reference/tags/index.html + +.. Change things from this point on + +====== +os-vif +====== + +.. image:: https://img.shields.io/pypi/v/os-vif.svg + :target: https://pypi.python.org/pypi/os-vif/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/os-vif.svg + :target: https://pypi.python.org/pypi/os-vif/ + :alt: Downloads + A library for plugging and unplugging virtual interfaces in OpenStack. +* License: Apache License, Version 2.0 +* Documentation: https://docs.openstack.org/os-vif/latest/ +* Source: https://git.openstack.org/cgit/openstack/os-vif +* Bugs: https://bugs.launchpad.net/os-vif + + + + %prep -%autosetup -n os_vif-2.3.0 +%autosetup -n os_vif-1.9.1 %build -%py3_build +%py2_build %install -%py3_install +%py2_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 @@ -68,14 +157,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-os-vif -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-os-vif -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Thu Jan 21 2021 zhangy1317 -- Add BuildRequires python3-pip -* Wed Jan 06 2021 Python_Bot +* Tue Jun 1 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Mon May 10 2021 OpenStack_SIG - Package Spec generated