Projects
Eulaceura:Factory
ovirt-provider-ovn
_service:obs_scm:ovirt-provider-ovn.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ovirt-provider-ovn.spec of Package ovirt-provider-ovn
%define __spec_install_post %{nil} %define debug_package %{nil} %define __os_install_post %{_dbpath}/brp-compress %define required_python_lib(l:) python%{python3_pkgversion}-%{*} %global ovn_support 0 %global required_python python%{python3_pkgversion} %global required_python_interpreter %{__python3} %global required_python_sitelib %{python3_sitelib} %global required_ovs_lib %{required_python_lib -l python- openvswitch} %global required_six_lib %{required_python_lib -l python- six} %global required_ovsdbapp_lib %{required_python_lib -l python- ovsdbapp} %global required_requests_lib %{required_python_lib -l python- requests} %global required_netaddr_lib %{required_python_lib -l python- netaddr} %global required_python_devel %{required_python_lib -l python3- devel} %global required_python_setup_tools %{required_python_lib -l python- setuptools} Name: ovirt-provider-ovn Version: 1.2.29 Release: 3 Summary: The oVirt external network provider for OVN License: GPLv2+ BuildArch: noarch URL: https://gerrit.ovirt.org/#/admin/projects/ovirt-provider-ovn Source0: %{name}-%{version}.tar.gz Requires: firewalld-filesystem Requires: kernel >= 3.10.0-512 Requires: openvswitch >= 0:2.7 %if %{ovn_support} Requires: openvswitch-ovn-central >= 0:2.7 Requires: openvswitch-ovn-common >= 0:2.7 %endif Requires: %{required_ovs_lib} >= 0:2.7 Conflicts: openvswitch = 1:2.6.1 Conflicts: openvswitch-ovn-central = 1:2.6.1 Conflicts: openvswitch-ovn-common = 1:2.6.1 Conflicts: %{required_ovs_lib} = 1:2.6.1 Requires: %{required_requests_lib} Requires: %{required_netaddr_lib} Requires: %{required_ovsdbapp_lib} Requires: %{required_six_lib} BuildRequires: %{required_python} BuildRequires: %{required_python_devel} BuildRequires: %{required_python_setup_tools} BuildRequires: systemd %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT %make_install PYTHON="%{required_python_interpreter}" %description The oVirt external network provider for OVN allows to integrate oVirt with the Open vSwitch Open Virtual Network (OVN) solution. OVN is a Software Defined Networking extension to Open vSwitch. OVN is integrated into oVirt using the external network API. The oVirt provider for OVN serves as a proxy between oVirt engine and OVN Northbound DB. %post %systemd_post ovirt-provider-ovn.service %preun %systemd_preun ovirt-provider-ovn.service %postun %systemd_postun_with_restart ovirt-provider-ovn.service %package driver Summary: The virtual interface driver for oVirt external network provider for OVN License: GPLv2+ BuildArch: noarch Requires: firewalld-filesystem Requires: kernel >= 3.10.0-512 Requires: openvswitch >= 0:2.7 %if %{ovn_support} Requires: openvswitch-ovn-host >= 0:2.7 Requires: openvswitch-ovn-common >= 0:2.7 %endif Requires: %{required_ovs_lib} >= 0:2.7 Conflicts: openvswitch = 1:2.6.1 Conflicts: openvswitch-ovn-host = 1:2.6.1 Conflicts: openvswitch-ovn-common = 1:2.6.1 Conflicts: %{required_ovs_lib} = 1:2.6.1 Requires: vdsm Requires(post): firewalld-filesystem BuildRequires: %{required_python} BuildRequires: %{required_python_devel} BuildRequires: %{required_python_setup_tools} BuildRequires: systemd %description driver The virtual interface driver for oVirt external network provider for OVN. The driver handles the connection of virtual NICs provisioned on oVirt hosts to OVN. %files %config(noreplace) %{_sysconfdir}/ovirt-provider-ovn %config(noreplace) %{_sysconfdir}/logrotate.d/ovirt-provider-ovn %{_datadir}/ovirt-provider-ovn %{_unitdir}/ovirt-provider-ovn.service /usr/lib/firewalld/services/ovirt-provider-ovn.xml %doc /usr/share/doc/ovirt-provider-ovn/README.adoc %license LICENSE %files driver %{_libexecdir}/vdsm/hooks/before_nic_hotplug/ %{_libexecdir}/vdsm/hooks/before_device_create/ %{_libexecdir}/vdsm/hooks/after_get_caps/ %{_libexecdir}/vdsm/hooks/after_vm_destroy/ %{_libexecdir}/vdsm/vhostuser_permissions_setter %{_libexecdir}/ovirt-provider-ovn %{required_python_sitelib}/vdsm/tool/ %{_sysconfdir}/sudoers.d/50_vdsm_hook_ovirt_provider_ovn_hook %license LICENSE %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 - Remove the release suffix * Thu Mar 5 2020 di.wang <di.wang@cs2c.com.cn> - 1.2.29-1 - Package Initialization
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2