diff --git a/os_vif-2.7.1.tar.gz b/os_vif-2.7.1.tar.gz deleted file mode 100644 index 1d2bd19c1be48cab3e9fc0049fea1a4462161c1e..0000000000000000000000000000000000000000 Binary files a/os_vif-2.7.1.tar.gz and /dev/null differ diff --git a/os_vif-3.1.0.tar.gz b/os_vif-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a1ef447eb8f89297d7dcd30de8441d77cfa08c62 Binary files /dev/null and b/os_vif-3.1.0.tar.gz differ diff --git a/python-os-vif.spec b/python-os-vif.spec index f01cd094eb2305eb7d91d385179572dfef075f8e..0924bce25a098b832b9eca3117c205780ae600f9 100644 --- a/python-os-vif.spec +++ b/python-os-vif.spec @@ -1,65 +1,63 @@ %global _empty_manifest_terminate_build 0 -Name: python-os-vif -Version: 2.7.1 -Release: 1 -Summary: A library for plugging and unplugging virtual interfaces in OpenStack. -License: Apache-2.0 -URL: https://docs.openstack.org/os-vif/latest/ -Source0: https://files.pythonhosted.org/packages/bd/0e/f480ce7e05dab1d31c30ab65ecc7b50e8f3950484ca90aa642d664d5b984/os_vif-2.7.1.tar.gz -BuildArch: noarch +Name: python-os-vif +Version: 3.1.0 +Release: 1 +Summary: A library for plugging and unplugging virtual interfaces in OpenStack. +License: Apache-2.0 +URL: https://docs.openstack.org/os-vif/latest/ +Source0: https://files.pythonhosted.org/packages/d5/b8/a2f4186d716314857f9f799d254fba1137bf824046408e3479ec7a4fc0b9/os_vif-3.1.0.tar.gz +BuildArch: noarch + %description A library for plugging and unplugging virtual interfaces in OpenStack. %package -n python3-os-vif -Summary: A library for plugging and unplugging virtual interfaces in OpenStack. -Provides: python-os-vif +Summary: A library for plugging and unplugging virtual interfaces in OpenStack. +Provides: python-os-vif = %{version}-%{release} # Base build requires -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel # General requires -BuildRequires: python3-debtcollector -BuildRequires: python3-netaddr -BuildRequires: python3-oslo-concurrency -BuildRequires: python3-oslo-config -BuildRequires: python3-oslo-i18n -BuildRequires: python3-oslo-log -BuildRequires: python3-oslo-privsep -BuildRequires: python3-oslo-versionedobjects -BuildRequires: python3-ovsdbapp -BuildRequires: python3-stevedore -BuildRequires: python3-pyroute2 -BuildRequires: python3-stestr +BuildRequires: python3-debtcollector +BuildRequires: python3-netaddr +BuildRequires: python3-oslo-concurrency +BuildRequires: python3-oslo-config +BuildRequires: python3-oslo-i18n +BuildRequires: python3-oslo-log +BuildRequires: python3-oslo-privsep +BuildRequires: python3-oslo-versionedobjects +BuildRequires: python3-ovsdbapp +BuildRequires: python3-stevedore +BuildRequires: python3-pyroute2 +BuildRequires: python3-stestr # General requires -Requires: python3-debtcollector -Requires: python3-netaddr +Requires: python3-debtcollector +Requires: python3-netaddr Requires: python3-oslo-concurrency Requires: python3-oslo-config Requires: python3-oslo-i18n Requires: python3-oslo-log Requires: python3-oslo-privsep Requires: python3-oslo-versionedobjects -Requires: python3-ovsdbapp -Requires: python3-pbr -Requires: python3-stevedore -Requires: python3-pyroute2 +Requires: python3-ovsdbapp +Requires: python3-pbr +Requires: python3-stevedore +Requires: python3-pyroute2 # Test requires -Requires: python3-subunit +Requires: python3-coverage Requires: python3-oslotest -Requires: python3-os-testr -Requires: python3-testtools -Requires: python3-testrepository -Requires: python3-testscenarios +Requires: python3-ovs Requires: python3-stestr - +Requires: python3-testscenarios %description -n python3-os-vif A library for plugging and unplugging virtual interfaces in OpenStack. %package help -Summary: A library for plugging and unplugging virtual interfaces in OpenStack. -Provides: python3-os-vif-doc +Summary: Development documents and examples for os-vif +Provides: python3-os-vif-doc %description help A library for plugging and unplugging virtual interfaces in OpenStack. @@ -69,7 +67,6 @@ A library for plugging and unplugging virtual interfaces in OpenStack. %build %py3_build - %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} @@ -77,22 +74,25 @@ 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 +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{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 . @@ -107,11 +107,13 @@ PYTHON=%{__python3} stestr-3 --test-path $OS_TEST_PATH run %files -n python3-os-vif -f filelist.lst %dir %{python3_sitelib}/* - %files help -f doclist.lst %{_docdir}/* %changelog +* Wed Dec 21 2022 wangjunqi - 3.1.0-1 +- Update package to version 3.1.0 + * Wed May 18 2022 OpenStack_SIG - 2.7.1-1 - Upgrade package python3-os-vif to version 2.7.1