Hello community,
here is the log from the commit of package libsignal-protocol-c for
openSUSE:Factory checked in at 2019-02-26 22:21:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsignal-protocol-c (Old)
and /work/SRC/openSUSE:Factory/.libsignal-protocol-c.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsignal-protocol-c"
Tue Feb 26 22:21:35 2019 rev:3 rq:679232 version:2.3.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/libsignal-protocol-c/libsignal-protocol-c.changes
2018-05-16 11:41:29.524520490 +0200
+++
/work/SRC/openSUSE:Factory/.libsignal-protocol-c.new.28833/libsignal-protocol-c.changes
2019-02-26 22:23:03.986051990 +0100
@@ -1,0 +2,17 @@
+Tue Feb 26 11:01:25 UTC 2019 - Adam Mizerski <[email protected]>
+
+- Removed patch libsignal-protocol-c-2.3.2-lib_ver.patch
+ This was the only change applied in tarball (see changelog below).
+
+-------------------------------------------------------------------
+Tue Feb 26 10:39:50 UTC 2019 - [email protected]
+
+- Update tarball. On new URL seems to be different.
+
+-------------------------------------------------------------------
+Tue Feb 26 08:30:24 UTC 2019 - Adam Mizerski <[email protected]>
+
+- Build and run tests
+- Update url
+
+-------------------------------------------------------------------
Old:
----
libsignal-protocol-c-2.3.2-lib_ver.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsignal-protocol-c.spec ++++++
--- /var/tmp/diff_new_pack.4V51IY/_old 2019-02-26 22:23:04.434051831 +0100
+++ /var/tmp/diff_new_pack.4V51IY/_new 2019-02-26 22:23:04.434051831 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libsignal-protocol-c
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -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/
#
@@ -23,9 +23,9 @@
Summary: Signal Protocol C Library
License: GPL-3.0-only
Group: Development/Libraries/C and C++
-Url: https://github.com/WhisperSystems/libsignal-protocol-c/
-Source:
https://github.com/WhisperSystems/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch0: libsignal-protocol-c-2.3.2-lib_ver.patch
+Url: https://github.com/signalapp/libsignal-protocol-c/
+Source:
https://github.com/signalapp/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires: check-devel >= 0.9.10
BuildRequires: cmake >= 2.8.4
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@@ -51,14 +51,23 @@
%prep
%setup -q
-%patch0 -p1
%build
-%cmake
+%cmake \
+ -DBUILD_TESTING=ON
+%if %suse_version > 1500
+%cmake_build
+%else
+%make_jobs
+%endif
%install
%cmake_install
+%check
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
+%ctest
+
%post -n %{c_lib} -p /sbin/ldconfig
%postun -n %{c_lib} -p /sbin/ldconfig
++++++ libsignal-protocol-c-2.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libsignal-protocol-c-2.3.2/CMakeLists.txt
new/libsignal-protocol-c-2.3.2/CMakeLists.txt
--- old/libsignal-protocol-c-2.3.2/CMakeLists.txt 2018-03-03
00:41:11.000000000 +0100
+++ new/libsignal-protocol-c-2.3.2/CMakeLists.txt 2018-05-14
16:02:23.000000000 +0200
@@ -8,7 +8,7 @@
SET(SIGNAL_PROTOCOL_C_VERSION_MAJOR 2)
SET(SIGNAL_PROTOCOL_C_VERSION_MINOR 3)
-SET(SIGNAL_PROTOCOL_C_VERSION_PATCH 1)
+SET(SIGNAL_PROTOCOL_C_VERSION_PATCH 2)
SET(SIGNAL_PROTOCOL_C_VERSION
${SIGNAL_PROTOCOL_C_VERSION_MAJOR}.${SIGNAL_PROTOCOL_C_VERSION_MINOR}.${SIGNAL_PROTOCOL_C_VERSION_PATCH})
SET(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")