Hello community, here is the log from the commit of package librecad for openSUSE:Factory checked in at 2015-05-07 09:22:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librecad (Old) and /work/SRC/openSUSE:Factory/.librecad.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librecad" Changes: -------- --- /work/SRC/openSUSE:Factory/librecad/librecad.changes 2015-02-03 11:40:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes 2015-05-07 09:22:42.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 30 01:00:13 UTC 2015 - crrodrig...@opensuse.org + +- Switch to QT5 for Factory builds. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librecad.spec ++++++ --- /var/tmp/diff_new_pack.r8sqcU/_old 2015-05-07 09:22:43.000000000 +0200 +++ /var/tmp/diff_new_pack.r8sqcU/_new 2015-05-07 09:22:43.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package librecad # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -40,9 +40,19 @@ Patch4: librecad-plugindir.diff BuildRequires: boost-devel BuildRequires: fdupes +BuildRequires: freetype2-devel BuildRequires: gcc-c++ >= 4.7 BuildRequires: libdxfrw-devel +%if 0%{?suse_version} >= 1321 +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Help) +BuildRequires: pkgconfig(Qt5PrintSupport) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Widgets) +%else BuildRequires: libqt4-devel +%endif BuildRequires: muparser-devel BuildRequires: unzip BuildRequires: update-desktop-files @@ -88,7 +98,12 @@ sed -i 's/\r$//' LICENSE-MIT.txt license-lc_opengost-fonts.txt %build -qmake librecad.pro CONFIG+="release" \ +%if 0%{?suse_version} >= 1321 +qmake-qt5 \ +%else +qmake \ +%endif +librecad.pro CONFIG+="release" \ QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" make %{?_smp_mflags} rm -f unix/resources/fonts/wqy-unicode.lff