From 3bfbfddc06acf04fcc06d3bb04c9d07e68a4ee0fdaf45a9ab5531dcb558e2d5a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 21 Mar 2018 21:03:38 +0000 Subject: [PATCH] - set rundir to %_rundir OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=142 --- openvswitch.changes | 5 +++++ openvswitch.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/openvswitch.changes b/openvswitch.changes index 05048c6..0ade8b7 100644 --- a/openvswitch.changes +++ b/openvswitch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/openvswitch.spec b/openvswitch.spec index 4e0a0dd..38fbdac 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -341,9 +341,10 @@ popd cp -a %{SOURCE89} obj/$flavor/datapath/linux/Module.supported pushd obj/$flavor %configure \ - --with-logdir=%{_localstatedir}/log/openvswitch \ - --with-linux=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor \ - --with-linux-source=%{_prefix}/src/linux + --with-logdir=%{_localstatedir}/log/openvswitch \ + --with-rundir=%{_rundir}/openvswitch \ + --with-linux=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor \ + --with-linux-source=%{_prefix}/src/linux cd datapath/linux make %{?_smp_mflags} popd @@ -371,6 +372,7 @@ pushd source --enable-shared \ --enable-ssl \ ${dpdk_opt} \ + --with-rundir=%{_rundir}/openvswitch \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} popd