Hello community, here is the log from the commit of package equalx for openSUSE:Factory checked in at 2015-05-02 21:39:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/equalx (Old) and /work/SRC/openSUSE:Factory/.equalx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "equalx" Changes: -------- --- /work/SRC/openSUSE:Factory/equalx/equalx.changes 2014-03-30 12:52:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.equalx.new/equalx.changes 2015-05-02 21:39:24.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 30 20:52:09 UTC 2015 - crrodriguez@opensuse.org + +- In factory, compile against QT5. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ equalx.spec ++++++ --- /var/tmp/diff_new_pack.Hvf7Oe/_old 2015-05-02 21:39:24.000000000 +0200 +++ /var/tmp/diff_new_pack.Hvf7Oe/_new 2015-05-02 21:39:24.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package equalx # -# Copyright (c) 2014 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 @@ -32,11 +32,16 @@ BuildRequires: ghostscript BuildRequires: hicolor-icon-theme BuildRequires: inkscape -BuildRequires: libqt4-devel >= 4.8.0 BuildRequires: pkg-config +%if 0%{?suse_version} > 1320 +BuildRequires: pkgconfig(Qt5Sql) +BuildRequires: pkgconfig(Qt5Widgets) +%else +BuildRequires: libqt4-devel >= 4.8.0 +Requires: libqt4-sql-sqlite +%endif BuildRequires: pkgconfig(exempi-2.0) Requires: ghostscript -Requires: libqt4-sql-sqlite Requires: poppler-tools Requires: texlive-latex BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -60,7 +65,12 @@ sed -i 's/\r$//' LICENSE README %build -qmake DESTDIR="./bin/" QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags" +%if 0%{?suse_version} > 1320 +qmake-qt5 \ +%else +qmake \ +%endif +DESTDIR="./bin/" QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden" make %{?_smp_mflags} %install