Stephan Kulow 2015-01-21 20:52:56 +00:00 committed by Git OBS Bridge
parent 6cc30e7500
commit 0333cc164f
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,27 @@
diff -ru src.org/linguist/lrelease/main.cpp src/linguist/lrelease/main.cpp
--- src.org/linguist/lrelease/main.cpp 2014-12-06 00:24:59.000000000 +0800
+++ src/linguist/lrelease/main.cpp 2015-01-12 10:50:16.717756760 +0800
@@ -310,9 +310,9 @@
option.qmake_abslocation = QString::fromLocal8Bit(qgetenv("QMAKE"));
if (option.qmake_abslocation.isEmpty())
#ifdef QT_BOOTSTRAPPED
- option.qmake_abslocation = binDir + QLatin1String("/qmake");
+ option.qmake_abslocation = binDir + QLatin1String("/qmake-qt5");
#else
- option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake");
+ option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake-qt5");
#endif
option.initProperties();
QMakeVfs vfs;
diff -ru src.org/linguist/lupdate/main.cpp src/linguist/lupdate/main.cpp
--- src.org/linguist/lupdate/main.cpp 2014-12-06 00:24:59.000000000 +0800
+++ src/linguist/lupdate/main.cpp 2015-01-12 10:50:16.718756760 +0800
@@ -1048,7 +1048,7 @@
ProFileGlobals option;
option.qmake_abslocation = QString::fromLocal8Bit(qgetenv("QMAKE"));
if (option.qmake_abslocation.isEmpty())
- option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake");
+ option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake-qt5");
option.debugLevel = proDebug;
option.initProperties();
option.setCommandLineArguments(QDir::currentPath(),

View File

@ -1,4 +1,9 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 12 03:49:34 UTC 2015 - liujianfeng1994@gmail.com
- Add fix-for-opensuse-qmake-qt5.patch
* Fix lupdate can't find qmake configuration file default (rh#1009893)
-------------------------------------------------------------------
Wed Dec 10 11:00:12 UTC 2014 - hrvoje.senjan@gmail.com Wed Dec 10 11:00:12 UTC 2014 - hrvoje.senjan@gmail.com
- Update to 5.4 Final - Update to 5.4 Final

View File

@ -35,6 +35,10 @@ Source11: designer5.desktop
Source12: linguist5.desktop Source12: linguist5.desktop
Source13: assistant5.desktop Source13: assistant5.desktop
Source14: qdbusviewer5.desktop Source14: qdbusviewer5.desktop
# PATCH-FIX-OPENSUSE fix-for-opensuse-qmake-qt5.patch [rh#1009893] liujianfeng1994@gmail.com
Patch1: fix-for-opensuse-qmake-qt5.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libQt5WebKitWidgets-devel >= %{version} BuildRequires: libQt5WebKitWidgets-devel >= %{version}
BuildRequires: libqt5-qtbase-devel >= %{version} BuildRequires: libqt5-qtbase-devel >= %{version}
@ -59,6 +63,8 @@ This package contains base tools, like string, xml, and network handling.
%prep %prep
%setup -q -n qttools-opensource-src-%{real_version} %setup -q -n qttools-opensource-src-%{real_version}
%patch1 -p0
%package devel %package devel
Summary: Qt Development Kit Summary: Qt Development Kit
Group: Development/Libraries/X11 Group: Development/Libraries/X11