Hello community,

here is the log from the commit of package QCSXCAD for openSUSE:Factory checked 
in at 2018-06-22 13:32:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QCSXCAD (Old)
 and      /work/SRC/openSUSE:Factory/.QCSXCAD.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QCSXCAD"

Fri Jun 22 13:32:14 2018 rev:6 rq:617704 version:0.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/QCSXCAD/QCSXCAD.changes  2017-11-18 
00:22:22.780741610 +0100
+++ /work/SRC/openSUSE:Factory/.QCSXCAD.new/QCSXCAD.changes     2018-06-22 
13:32:22.581319516 +0200
@@ -1,0 +2,7 @@
+Mon Jun 18 20:03:00 UTC 2018 - [email protected]
+
+- Fix build with Qt5.11, cmake qt5_use_modules has been removed.
+  Add qt5_use_modules.diff.
+- Use Qt5 on all releases, as VTK uses Qt5 everywhere as well.
+
+-------------------------------------------------------------------

New:
----
  qt5_use_modules.diff

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

Other differences:
------------------
++++++ QCSXCAD.spec ++++++
--- /var/tmp/diff_new_pack.yRbN8K/_old  2018-06-22 13:32:25.893197097 +0200
+++ /var/tmp/diff_new_pack.yRbN8K/_new  2018-06-22 13:32:25.897196949 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package QCSXCAD
 #
-# Copyright (c) 2017 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
@@ -26,20 +26,17 @@
 Group:          Productivity/Graphics/CAD
 Url:            http://openems.de
 Source0:        
https://github.com/thliebig/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE qt5_use_modules.diff -- qt5_use_modules has been 
deprecated and removed
+Patch0:         qt5_use_modules.diff
 # PATCH-FIX-OPENSUSE QCSXCAD-no-build-date.patch -- Remove build date from 
binaries
 Patch1:         QCSXCAD-no-build-date.patch
 BuildRequires:  CSXCAD-devel
 BuildRequires:  cmake
 BuildRequires:  tinyxml-devel
 BuildRequires:  vtk-devel
-%if 0%{?suse_version} > 1320
 BuildRequires:  cmake(Qt5Sql)
 BuildRequires:  cmake(Qt5Widgets)
-BuildRequires:  pkgconfig(Qt5Widgets)
-BuildRequires:  pkgconfig(Qt5Xml)
-%else
-BuildRequires:  libqt4-devel
-%endif
+BuildRequires:  cmake(Qt5Xml)
 BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(python3)
 BuildRequires:  pkgconfig(sm)
@@ -69,6 +66,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1 -p1
 
 %build
@@ -84,7 +82,8 @@
 
 %files -n %{libname}
 %defattr(-,root,root,-)
-%doc COPYING NEWS README
+%license COPYING
+%doc NEWS README
 %{_libdir}/lib%{name}.so.*
 
 %files devel

++++++ qt5_use_modules.diff ++++++
--- QCSXCAD-0.6.1/CMakeLists.txt_orig   2018-06-18 21:47:14.072054407 +0200
+++ QCSXCAD-0.6.1/CMakeLists.txt        2018-06-18 21:48:46.851838077 +0200
@@ -180,7 +180,7 @@
 )
 
 if(Qt5Widgets_FOUND)
-    qt5_use_modules(QCSXCAD Widgets Xml)
+  set(QT_LIBRARIES Qt5::Widgets Qt5::Xml)
 endif()
 
 TARGET_LINK_LIBRARIES( QCSXCAD

Reply via email to