@@ -183,15 +183,15 @@ Docker network plugins for OVN.
%build
%configure \
%if %{with libcapng}
- --enable-libcapng \
+ --enable-libcapng \
%else
- --disable-libcapng \
+ --disable-libcapng \
%endif
%if %{with dpdk}
- --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
+ --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
%endif
- --enable-ssl \
- --with-pkidir=%{_sharedstatedir}/openvswitch/pki
+ --enable-ssl \
+ --with-pkidir=%{_sharedstatedir}/openvswitch/pki
make %{?_smp_mflags}
cd selinux
@@ -206,12 +206,13 @@ install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
install -p -D -m 0644 \
rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
$RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
-for service in openvswitch ovsdb-server ovs-vswitchd \
- ovn-controller ovn-controller-vtep ovn-northd; do
- install -p -D -m 0644 \
- rhel/usr_lib_systemd_system_${service}.service \
- $RPM_BUILD_ROOT%{_unitdir}/${service}.service
-done
+ for service in openvswitch ovsdb-server ovs-vswitchd \
+ ovn-controller ovn-controller-vtep ovn-northd; do
+ install -p -D -m 0644 \
+ rhel/usr_lib_systemd_system_${service}.service \
+ $RPM_BUILD_ROOT%{_unitdir}/${service}.service
+ done
+
install -m 0755 rhel/etc_init.d_openvswitch \
$RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
Replace a few tabs with spaces in the file to be more consistent with the rest of the file. Signed-off-by: Andy Zhou <azhou@ovn.org> --- rhel/openvswitch-fedora.spec.in | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-)