!12 Add limit for requires
From: @jxy_git Reviewed-by: @wm-wm-wm Signed-off-by: @wm-wm-wm
This commit is contained in:
commit
8c9310fc02
@ -3,6 +3,8 @@
|
|||||||
%define __os_install_post %{_dbpath}/brp-compress
|
%define __os_install_post %{_dbpath}/brp-compress
|
||||||
%define required_python_lib(l:) python%{python3_pkgversion}-%{*}
|
%define required_python_lib(l:) python%{python3_pkgversion}-%{*}
|
||||||
|
|
||||||
|
%global ovn_support 0
|
||||||
|
|
||||||
%global required_python python%{python3_pkgversion}
|
%global required_python python%{python3_pkgversion}
|
||||||
%global required_python_interpreter %{__python3}
|
%global required_python_interpreter %{__python3}
|
||||||
%global required_python_sitelib %{python3_sitelib}
|
%global required_python_sitelib %{python3_sitelib}
|
||||||
@ -16,7 +18,7 @@
|
|||||||
|
|
||||||
Name: ovirt-provider-ovn
|
Name: ovirt-provider-ovn
|
||||||
Version: 1.2.29
|
Version: 1.2.29
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: The oVirt external network provider for OVN
|
Summary: The oVirt external network provider for OVN
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -27,8 +29,10 @@ Requires: firewalld-filesystem
|
|||||||
Requires: kernel >= 3.10.0-512
|
Requires: kernel >= 3.10.0-512
|
||||||
|
|
||||||
Requires: openvswitch >= 0:2.7
|
Requires: openvswitch >= 0:2.7
|
||||||
|
%if %{ovn_support}
|
||||||
Requires: openvswitch-ovn-central >= 0:2.7
|
Requires: openvswitch-ovn-central >= 0:2.7
|
||||||
Requires: openvswitch-ovn-common >= 0:2.7
|
Requires: openvswitch-ovn-common >= 0:2.7
|
||||||
|
%endif
|
||||||
Requires: %{required_ovs_lib} >= 0:2.7
|
Requires: %{required_ovs_lib} >= 0:2.7
|
||||||
|
|
||||||
Conflicts: openvswitch = 1:2.6.1
|
Conflicts: openvswitch = 1:2.6.1
|
||||||
@ -83,8 +87,10 @@ Requires: firewalld-filesystem
|
|||||||
Requires: kernel >= 3.10.0-512
|
Requires: kernel >= 3.10.0-512
|
||||||
|
|
||||||
Requires: openvswitch >= 0:2.7
|
Requires: openvswitch >= 0:2.7
|
||||||
|
%if %{ovn_support}
|
||||||
Requires: openvswitch-ovn-host >= 0:2.7
|
Requires: openvswitch-ovn-host >= 0:2.7
|
||||||
Requires: openvswitch-ovn-common >= 0:2.7
|
Requires: openvswitch-ovn-common >= 0:2.7
|
||||||
|
%endif
|
||||||
Requires: %{required_ovs_lib} >= 0:2.7
|
Requires: %{required_ovs_lib} >= 0:2.7
|
||||||
|
|
||||||
Conflicts: openvswitch = 1:2.6.1
|
Conflicts: openvswitch = 1:2.6.1
|
||||||
@ -128,6 +134,9 @@ to OVN.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 03 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.2.29-3
|
||||||
|
- Add limit for requires
|
||||||
|
|
||||||
* Mon Jun 13 2022 chendexi <chendexi@kylinos.cn> - 1.2.29-2
|
* Mon Jun 13 2022 chendexi <chendexi@kylinos.cn> - 1.2.29-2
|
||||||
- Remove the release suffix
|
- Remove the release suffix
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user