forked from pool/openvswitch
Accepting request 590601 from network
OBS-URL: https://build.opensuse.org/request/show/590601 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvswitch?expand=0&rev=23
This commit is contained in:
commit
1d727eac19
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 22 10:39:10 UTC 2018 - mchandras@suse.de
|
||||||
|
|
||||||
|
- Fix file permissions in /etc/openvswitch for upgrades (951d79e638ec)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 21 21:03:21 UTC 2018 - dmueller@suse.com
|
||||||
|
|
||||||
|
- set rundir to %_rundir
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 1 10:39:54 UTC 2018 - mchandras@suse.de
|
Thu Mar 1 10:39:54 UTC 2018 - mchandras@suse.de
|
||||||
|
|
||||||
|
@ -341,9 +341,10 @@ popd
|
|||||||
cp -a %{SOURCE89} obj/$flavor/datapath/linux/Module.supported
|
cp -a %{SOURCE89} obj/$flavor/datapath/linux/Module.supported
|
||||||
pushd obj/$flavor
|
pushd obj/$flavor
|
||||||
%configure \
|
%configure \
|
||||||
--with-logdir=%{_localstatedir}/log/openvswitch \
|
--with-logdir=%{_localstatedir}/log/openvswitch \
|
||||||
--with-linux=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor \
|
--with-rundir=%{_rundir}/openvswitch \
|
||||||
--with-linux-source=%{_prefix}/src/linux
|
--with-linux=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor \
|
||||||
|
--with-linux-source=%{_prefix}/src/linux
|
||||||
cd datapath/linux
|
cd datapath/linux
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
@ -371,6 +372,7 @@ pushd source
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-ssl \
|
--enable-ssl \
|
||||||
${dpdk_opt} \
|
${dpdk_opt} \
|
||||||
|
--with-rundir=%{_rundir}/openvswitch \
|
||||||
--with-logdir=%{_localstatedir}/log/openvswitch
|
--with-logdir=%{_localstatedir}/log/openvswitch
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
@ -573,6 +575,13 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%postun vtep -p /sbin/ldconfig
|
%postun vtep -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(-,openvswitch,openvswitch)
|
||||||
|
%dir %{_sysconfdir}/openvswitch
|
||||||
|
%{_sysconfdir}/openvswitch/default.conf
|
||||||
|
%config %ghost %{_sysconfdir}/openvswitch/conf.db
|
||||||
|
%ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
|
||||||
|
%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_bindir}/ovs-appctl
|
%{_bindir}/ovs-appctl
|
||||||
%{_bindir}/ovs-docker
|
%{_bindir}/ovs-docker
|
||||||
%{_bindir}/ovs-dpctl
|
%{_bindir}/ovs-dpctl
|
||||||
@ -612,10 +621,6 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%{_mandir}/man8/ovs-vswitchd.8%{ext_man}
|
%{_mandir}/man8/ovs-vswitchd.8%{ext_man}
|
||||||
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
|
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
|
||||||
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
|
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
|
||||||
%dir %{_sysconfdir}/openvswitch
|
|
||||||
%config(noreplace) %{_sysconfdir}/openvswitch/default.conf
|
|
||||||
%config %ghost %{_sysconfdir}/openvswitch/conf.db
|
|
||||||
%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
|
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
|
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
|
||||||
%{_sbindir}/rcovsdb-server
|
%{_sbindir}/rcovsdb-server
|
||||||
%{_sbindir}/rcovs-vswitchd
|
%{_sbindir}/rcovs-vswitchd
|
||||||
@ -624,7 +629,7 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%{_unitdir}/ovs-vswitchd.service
|
%{_unitdir}/ovs-vswitchd.service
|
||||||
%{_unitdir}/ovsdb-server.service
|
%{_unitdir}/ovsdb-server.service
|
||||||
%{_fillupdir}/sysconfig.openvswitch
|
%{_fillupdir}/sysconfig.openvswitch
|
||||||
%dir %{_localstatedir}/log/openvswitch
|
%attr(755,-,-) %dir %{_localstatedir}/log/openvswitch
|
||||||
%if %{with dpdk}
|
%if %{with dpdk}
|
||||||
%{_prefix}/lib/udev/rules.d/91-vfio.rules
|
%{_prefix}/lib/udev/rules.d/91-vfio.rules
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user