Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2018-02-20 17:55:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and      /work/SRC/openSUSE:Factory/.hiawatha.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hiawatha"

Tue Feb 20 17:55:36 2018 rev:21 rq:578148 version:10.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes        2017-11-09 
14:00:15.513735691 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2018-02-20 
17:55:45.448990560 +0100
@@ -1,0 +2,5 @@
+Sat Feb 17 20:21:12 UTC 2018 - fi...@opensuse.org
+
+- Fix build with mbedtls 2.7.0.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ hiawatha.spec ++++++
--- /var/tmp/diff_new_pack.TVcrmC/_old  2018-02-20 17:55:46.524951817 +0100
+++ /var/tmp/diff_new_pack.TVcrmC/_new  2018-02-20 17:55:46.528951673 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2013-2017 Mariusz Fik <fi...@opensuse.org>.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2018 Mariusz Fik <fi...@opensuse.org>.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
 
 
 %define webroot /srv/www
+%define mbedtls_version %(rpm -q mbedtls-devel --qf "%%{VERSION}")
 
 Name:           hiawatha
 Version:        10.7
@@ -60,6 +61,11 @@
 # Remove bundled source for mbedtls, we use system version
 rm -rv mbedtls
 
+# mbedtls 2.7.0 and its backward comaptybility...
+%if "%{mbedtls_version}" >= "2.7.0"
+sed -i 's/MBEDTLS_DHM_RFC5114_MODP_2048_P/MBEDTLS_DHM_RFC5114_MODP_P/' 
src/tls.c
+%endif
+
 %build
 %cmake \
     -DCONFIG_DIR="%{_sysconfdir}/hiawatha" \


Reply via email to