Hello community,

here is the log from the commit of package libjreen-qt5 for openSUSE:Factory 
checked in at 2018-05-29 16:51:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libjreen-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.libjreen-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libjreen-qt5"

Tue May 29 16:51:11 2018 rev:3 rq:612095 version:1.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libjreen-qt5/libjreen-qt5.changes        
2016-02-01 19:56:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libjreen-qt5.new/libjreen-qt5.changes   
2018-05-29 16:51:27.357626228 +0200
@@ -1,0 +2,11 @@
+Thu May 24 22:01:22 UTC 2018 - [email protected]
+
+- Update to 1.3.0. Changes since 1.2.0:
+  * Change license to LGPL-3.0-or-later
+  * Use QSsl::SecureProtocols instead of QSsl::TlsV1
+  * Fix build with recent qbs (up to version 1.7)
+- Drop 0001-Use-GNUInstallDirs-to-determine-install-dirs.patch and
+  0002-Clean_includes.patch (fixed upstream)
+- Add Patch fix-build-with-Qt-5_11.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Use-GNUInstallDirs-to-determine-install-dirs.patch
  0002-Clean_includes.patch
  v1.2.0.tar.gz

New:
----
  fix-build-with-Qt-5_11.patch
  v1.3.0.tar.gz

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

Other differences:
------------------
++++++ libjreen-qt5.spec ++++++
--- /var/tmp/diff_new_pack.m4CwGQ/_old  2018-05-29 16:51:28.873570450 +0200
+++ /var/tmp/diff_new_pack.m4CwGQ/_new  2018-05-29 16:51:28.877570302 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libjreen-qt5
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -17,25 +17,23 @@
 
 
 %define soname 1
-
 Name:           libjreen-qt5
-Version:        1.2.0
+Version:        1.3.0
 Release:        0
 Summary:        Qt Jabber/XMPP library
-License:        GPL-2.0+
+License:        LGPL-3.0-or-later
 Group:          System/Libraries
-Url:            http://github.com/euroelessar/jreen
+URL:            http://github.com/euroelessar/jreen
 Source:         v%{version}.tar.gz
-Patch0:         0001-Use-GNUInstallDirs-to-determine-install-dirs.patch
-# PATCH-FIX-UPSTREAM -- 0002-Clean_includes.patch
-Patch1:         0002-Clean_includes.patch
+# PATCH-FIX-UPSTREAM -- fix-build-with-Qt-5_11.patch
+Patch0:         fix-build-with-Qt-5_11.patch
 BuildRequires:  cmake
 BuildRequires:  libgsasl-devel
+BuildRequires:  pkgconfig
 BuildRequires:  speex-devel
 BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(Qt5Network)
 BuildRequires:  pkgconfig(Qt5Xml)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Qt Jabber/XMPP extensible library.
@@ -56,41 +54,27 @@
 Qt Jabber/XMPP extensible library.
 
 %prep
-%setup -q -n jreen-%{version}
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1 -n jreen-%{version}
 
 %build
-mkdir -p build
-pushd build
-cmake .. \
-  cmake -DCMAKE_BUILD_TYPE=None \\\
-      -DCMAKE_C_FLAGS="%{optflags} -DNDEBUG" \\\
-      -DCMAKE_CXX_FLAGS="%{optflags} -DNDEBUG" \\\
-      -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined 
-Wl,-Bsymbolic-functions" \\\
-      -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined 
-Wl,-Bsymbolic-functions" \\\
-      -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined 
-Wl,-Bsymbolic-functions" \\\
-      -DCMAKE_VERBOSE_MAKEFILE=ON \\\
-      -DCMAKE_INSTALL_PREFIX=%{_prefix} ..
+%cmake -DCMAKE_BUILD_TYPE=None
 
 %make_jobs
-popd
 
 %install
-%makeinstall -C build
+%cmake_install
 
 %post   -n libjreen-qt5-%{soname} -p /sbin/ldconfig
-
 %postun -n libjreen-qt5-%{soname} -p /sbin/ldconfig
 
 %files -n libjreen-qt5-%{soname}
-%defattr(-,root,root)
-%doc AUTHORS  ChangeLog COPYING  README
+%license COPYING*
+%doc AUTHORS ChangeLog README.md
 %{_libdir}/libjreen-qt5.so.%{soname}
 %{_libdir}/libjreen-qt5.so.%{soname}.*
 
 %files -n libjreen-qt5-devel
-%defattr(-,root,root)
+%license COPYING*
 %{_includedir}/jreen-qt5/
 %{_libdir}/libjreen-qt5.so
 %{_libdir}/pkgconfig/libjreen-qt5.pc

++++++ fix-build-with-Qt-5_11.patch ++++++
commit 7f7a5d3e91caf1a743649af47ed5bb29e47b6ff7
Author: Christophe Giboudeaux <[email protected]>
Date:   Thu May 24 23:55:58 2018 +0200

    Fix build with Qt 5.11.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7988ee7..2f40f1c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,6 +24,7 @@ endif()
 
 if(Qt5Core_DIR)
     find_package(Qt5Network QUIET)
+    include_directories(${Qt5Core_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS})
     message(STATUS "Found Qt5!")
     set(JREEN_SUFFIX "-qt5")
     set(JREEN_INCLUDE_PATH "jreen-qt5")
@@ -37,9 +38,6 @@ else()
 
     find_package(Qt4 4.6.0 COMPONENTS QtCore QtNetwork REQUIRED)
 
-    macro(qt5_use_modules)
-    endmacro()
-
     include(${QT_USE_FILE})
 endif()
 
@@ -193,14 +191,14 @@ if(SPEEX_FOUND)
 endif()
 
 target_link_libraries(jreen${JREEN_SUFFIX}
-    ${QT_LIBRARIES}
+    ${Qt5Core_LIBRARIES}
+    ${Qt5Network_LIBRARIES}
     ${GSASL_LIBRARIES}
     ${ZLIB_LIBRARIES}
     ${EXTRA_LIBS}
 )
 
 set_target_properties(jreen${JREEN_SUFFIX} PROPERTIES AUTOMOC TRUE)
-qt5_use_modules(jreen${JREEN_SUFFIX} Core Network)
 
 # Install package config file
 if(NOT WIN32)
++++++ v1.2.0.tar.gz -> v1.3.0.tar.gz ++++++
++++ 9076 lines of diff (skipped)


Reply via email to