Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-12-14 10:54:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and      /work/SRC/openSUSE:Factory/.openvswitch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openvswitch"

Thu Dec 14 10:54:41 2017 rev:19 rq:554834 version:2.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-11-25 
08:43:36.848169719 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes     
2017-12-14 10:54:47.339418558 +0100
@@ -1,0 +2,8 @@
+Wed Dec  6 14:00:55 UTC 2017 - mchand...@suse.de
+
+- Fix documentation installation. It's best to install everything to
+  %buildroot and then remove the files we don't need instead of the
+  other way around since some files need to be present in the source
+  directory for the testsuite to run.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openvswitch.spec ++++++
--- /var/tmp/diff_new_pack.sE2ijX/_old  2017-12-14 10:54:48.891343640 +0100
+++ /var/tmp/diff_new_pack.sE2ijX/_new  2017-12-14 10:54:48.891343640 +0100
@@ -414,14 +414,10 @@
 install -p -m 0644 
rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
         
%{buildroot}%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
 
-# Copy documentation. The git archive builds also contain non rst files
-# to make sure we clean everything we don't need.
-find Documentation/ -type f ! -name '*.rst' -delete
-find Documentation/ -type d -empty -delete
-pushd Documentation/
+# Copy documentation.
 mkdir -p %{buildroot}%{_docdir}/%{name}
-cp -r * %{buildroot}%{_docdir}/%{name}
-popd
+cp -r Documentation/* %{buildroot}%{_docdir}/%{name}
+find %{buildroot}%{_docdir}/%{name}/ -type f ! -name '*.rst' -delete
 
 # DPDK migration script
 install -m 755 utilities/ovs-dpdk-migrate-2.6.sh 
%{buildroot}/%{_datadir}/openvswitch/scripts/
@@ -615,12 +611,12 @@
 %endif
 
 %files doc
-%exclude %{_docdir}/AUTHORS.rst
-%exclude %{_docdir}/CONTRIBUTING.rst
-%exclude %{_docdir}COPYING
-%exclude %{_docdir}/NEWS
-%exclude %{_docdir}/NOTICE
-%exclude %{_docdir}/README.rst
+%exclude %{_docdir}/%{name}/AUTHORS.rst
+%exclude %{_docdir}/%{name}/CONTRIBUTING.rst
+%exclude %{_docdir}/%{name}/COPYING
+%exclude %{_docdir}/%{name}/NEWS
+%exclude %{_docdir}/%{name}/NOTICE
+%exclude %{_docdir}/%{name}/README.rst
 %{_docdir}/%{name}/
 
 %files -n %{lname}


Reply via email to