Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-05-15 12:35:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and      /work/SRC/openSUSE:Factory/.openvswitch.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openvswitch"

Wed May 15 12:35:32 2019 rev:41 rq:703094 version:2.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-05-06 
13:28:18.705393139 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.5148/openvswitch.changes        
2019-05-15 12:35:34.364341542 +0200
@@ -1,0 +2,5 @@
+Mon May  6 17:08:26 UTC 2019 -  <jcaam...@suse.com>
+
+- Use temporary directory for python build. 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openvswitch.spec ++++++
--- /var/tmp/diff_new_pack.rDhTja/_old  2019-05-15 12:35:36.232336590 +0200
+++ /var/tmp/diff_new_pack.rDhTja/_new  2019-05-15 12:35:36.232336590 +0200
@@ -400,10 +400,6 @@
 touch resolv.conf
 export OVS_RESOLV_CONF=$(pwd)/resolv.conf
 
-# Python build macros have moved out of the build directory some
-# extra_dist files that are required for check, put them back.
-cp python/_build.tmp/*.py python/build/
-
 # Recheck tests before we declare them broken. If that fails, dump
 # the log and exit. >2.5.0 uses the RECHECK env variable so this
 # needs to be taken into consideration for future releases.
@@ -509,22 +505,17 @@
     %{buildroot}%{python2_sitelib}
 
 # Python subpackages
-pushd source/python
+# Build on a temporary directory.
+pushd $(mktemp -d -p source/build-aux)
+cp -a ../../python/* $(pwd)/
+
+# Some build files are in sources while others are generated directly on
+# buildroot as part of make_install (dirs.py), so update the former with the
+# latter.
+cp -a %{buildroot}%{_datadir}/openvswitch/python/* $(pwd)/
 
 export LDFLAGS="${LDFLAGS} -L %{buildroot}%{_libdir}"
-export CPPFLAGS="-I ../include"
-
-# Set python environment
-sed \
-    -e '/^##/d' \
-    -e 's,[@]pkgdatadir[@],%{_datadir}/%{name},g' \
-    -e 's,[@]RUNDIR[@],%{_rundir},g' \
-    -e 's,[@]LOGDIR[@],%{_localstatedir}/log,g' \
-    -e 's,[@]bindir[@],%{_bindir},g' \
-    -e 's,[@]sysconfdir[@],%{_sysconfdir},g' \
-    -e 's,[@]DBDIR[@],%{_sysconfdir}/%{name},g' \
-    < ovs/dirs.py.template \
-    > ovs/dirs.py
+export CPPFLAGS="-I ../../include"
 
 %if 0%{?suse_version}
 # SLES


Reply via email to