Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package olm for openSUSE:Factory checked in 
at 2021-06-05 23:31:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/olm (Old)
 and      /work/SRC/openSUSE:Factory/.olm.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "olm"

Sat Jun  5 23:31:54 2021 rev:3 rq:897728 version:3.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/olm/olm.changes  2021-04-29 22:53:37.829828297 
+0200
+++ /work/SRC/openSUSE:Factory/.olm.new.1898/olm.changes        2021-06-05 
23:32:21.304523830 +0200
@@ -1,0 +2,10 @@
+Thu Jun  3 01:12:00 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 3.2.4
+  * Add some checks for invalid input and ensure all fields are
+    initialized.
+  * Include LibreJS license tags.
+- Add cmake-enable-testing-builddir.patch
+- Enable testing
+
+-------------------------------------------------------------------

Old:
----
  olm-3.2.2.tar.gz

New:
----
  cmake-enable-testing-builddir.patch
  olm-3.2.4.tar.bz2

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

Other differences:
------------------
++++++ olm.spec ++++++
--- /var/tmp/diff_new_pack.kMOano/_old  2021-06-05 23:32:21.728524567 +0200
+++ /var/tmp/diff_new_pack.kMOano/_new  2021-06-05 23:32:21.728524567 +0200
@@ -24,13 +24,15 @@
 in C and C++, including an implementation of the Megolm cryptographic ratchet
 
 Name:           %{origname}
-Version:        3.2.2
+Version:        3.2.4
 Release:        0
 Summary:        Double Ratchet cryptographic library
 License:        Apache-2.0
 Group:          Development/Languages/Python
-URL:            https://git.matrix.org/git/%{origname}/about/
-Source0:        
https://gitlab.matrix.org/matrix-org/%{origname}/-/archive/%{version}/%{origname}-%{version}.tar.gz
+URL:            https://gitlab.matrix.org/matrix-org/olm/
+Source0:        %{url}/-/archive/%{version}/%{origname}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM cmake-enable-testing-builddir.patch -- Enable testing 
inside the build directory
+Patch0:         cmake-enable-testing-builddir.patch
 BuildRequires:  %{python_module cffi >= 1.0.0}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
@@ -82,31 +84,24 @@
 
 
 %prep
-%autosetup -n %{origname}-%{version}
-sed -i 's@$(PREFIX)/lib@%{_libdir}@g' Makefile
+%autosetup -p1 -n %{origname}-%{version}
 
 %build
-workdir=$(pwd)
-export CFLAGS="%{optflags}"
-export CXXFLAGS="$CFLAGS"
-
-#Leap 42.3 and SLE_12_SP3 with rpm < 4.12
-%if 0%{?sle_version} == 120300
-  make %{?_smp_mflags}
-%else
-  %cmake
-  %cmake_build
-%endif
+%cmake
+%cmake_build
 
-cd $workdir/python
+cd ../python
 %python_build
 
-%install
-workdir=$(pwd)
-mkdir -p %{buildroot}%{_includedir}/%{origname}
-%cmake_install DESTDIR=%{buildroot} PREFIX=%{_prefix}
+%check
+%if 0%{?suse_version} < 1550
+export LD_LIBRARY_PATH="%{buildroot}%{_libdir}"
+%endif
+%ctest
 
-cd $workdir/python
+%install
+%cmake_install
+cd python
 %python_install
 
 %fdupes %{buildroot}

++++++ cmake-enable-testing-builddir.patch ++++++
diff -Nur olm-3.2.4/CMakeLists.txt new/CMakeLists.txt
--- olm-3.2.4/CMakeLists.txt    2021-06-01 19:44:45.000000000 +0200
+++ new/CMakeLists.txt  2021-06-03 17:25:22.292469155 +0200
@@ -127,5 +127,6 @@
 export(PACKAGE Olm)
 
 if (OLM_TESTS)
-   add_subdirectory(tests)
+    enable_testing()
+    add_subdirectory(tests)
 endif()
diff -Nur olm-3.2.4/tests/CMakeLists.txt new/tests/CMakeLists.txt
--- olm-3.2.4/tests/CMakeLists.txt      2021-06-01 19:44:45.000000000 +0200
+++ new/tests/CMakeLists.txt    2021-06-03 17:24:57.372285038 +0200
@@ -1,5 +1,3 @@
-enable_testing()
-
 set(TEST_LIST
     test_base64
     test_crypto
++++++ olm-3.2.2.tar.gz -> olm-3.2.4.tar.bz2 ++++++
++++ 3297 lines of diff (skipped)

Reply via email to