Hello community,

here is the log from the commit of package matrix-synapse for openSUSE:Factory 
checked in at 2019-02-24 17:15:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old)
 and      /work/SRC/openSUSE:Factory/.matrix-synapse.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "matrix-synapse"

Sun Feb 24 17:15:46 2019 rev:21 rq:677689 version:0.34.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes    
2019-01-21 10:52:57.759829489 +0100
+++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.28833/matrix-synapse.changes 
2019-02-24 17:15:58.084444485 +0100
@@ -1,0 +2,13 @@
+Wed Feb 20 11:42:00 UTC 2019 - Oliver Kurz <ok...@suse.com>
+
+- Fix build on python3 based repos
+
+-------------------------------------------------------------------
+Sat Feb  2 15:32:06 UTC 2019 - fcro...@suse.com
+
+- Fix systemd service to follow paths used by package and ensure
+  proper version version is used.
+- Add explicit requires on python-lxml, required when using
+  url preview.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ matrix-synapse.spec ++++++
--- /var/tmp/diff_new_pack.oOXF8t/_old  2019-02-24 17:15:58.784444360 +0100
+++ /var/tmp/diff_new_pack.oOXF8t/_new  2019-02-24 17:15:58.792444358 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -101,6 +101,8 @@
 Requires:       python-unpaddedbase64 >= 1.1.0
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+# used for URL preview API
+Recommends:     %{python_module lxml}
 BuildArch:      noarch
 %if "%{python_flavor}" == "%{default_python_version}"
 Provides:       matrix-synapse = %{version}
@@ -146,6 +148,7 @@
 done
 sed -i '1s@#!/usr/bin/env perl@#!/usr/bin/perl@g' scripts/sync_room_to_group.pl
 sed -i 's@msgpack-python@msgpack@g' synapse/python_dependencies.py
+sed -i 
's@Group=nogroup@Group=synapse@g;s@/opt/synapse/env/bin@/usr/bin@g;s@WorkingDirectory=/opt/synapse@WorkingDirectory=/var/lib/synapse@g;s@/opt/synapse/homeserver.yaml@/etc/synapse/homeserver.yaml@g'
 contrib/systemd/*.service
 %endif
 
 %build
@@ -189,6 +192,10 @@
 done
 %python_clone -a %{buildroot}%{_sbindir}/rc%{short_name}
 %python_clone -a %{buildroot}%{_unitdir}/%{short_name}.service
+sed -i 's@/usr/bin/python@/usr/bin/python2@g' 
%{buildroot}%{_unitdir}/%{short_name}.service-2*
+%if "%{python_flavor}" == "python3"
+sed -i 's@/usr/bin/python@/usr/bin/python3@g' 
%{buildroot}%{_unitdir}/%{short_name}.service-3*
+%endif
 %python_clone -a %{buildroot}%{_sysconfdir}/synapse/log_config.yaml
 
 # User Directory


Reply via email to