Browse Source

qt5-qtmake mysql changes

Signed-off-by: guibuilder_pel7ppc64lebuilder0 <guibuilder@powerel.org>
master
guibuilder_pel7ppc64lebuilder0 5 years ago
parent
commit
c81eece319
  1. 10
      SPECS/qt5-qtbase.spec

10
SPECS/qt5-qtbase.spec

@ -2,6 +2,10 @@
%global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc64le ppc s390x s390 sparc64 sparcv9 %global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc64le ppc s390x s390 sparc64 sparcv9
%global multilib_basearchs x86_64 %{?mips64} ppc64 ppc64le s390x sparc64 %global multilib_basearchs x86_64 %{?mips64} ppc64 ppc64le s390x sparc64


%ifarch ppc64le ppc64
%define _smp_mflags -j16
%endif

# support openssl-1.1 # support openssl-1.1
%if 0%{?fedora} > 26 %if 0%{?fedora} > 26
%global openssl11 1 %global openssl11 1
@ -395,9 +399,7 @@ Qt5 libraries used for drawing widgets and OpenGL items.
%patch54 -p1 -b .qmake_LFLAGS %patch54 -p1 -b .qmake_LFLAGS
%patch61 -p1 -b .qt5-qtbase-cxxflag %patch61 -p1 -b .qt5-qtbase-cxxflag
%patch64 -p1 -b .firebird %patch64 -p1 -b .firebird
%if 0%{?fedora} > 27
%patch65 -p1 -b .mysql %patch65 -p1 -b .mysql
%endif
# FIXME/REBASE # FIXME/REBASE
#patch67 -p1 -b .xcberror_filter #patch67 -p1 -b .xcberror_filter
%patch68 -p1 %patch68 -p1
@ -936,8 +938,8 @@ fi
%endif %endif


%files mysql %files mysql
%{_qt5_plugindir}/sqldrivers/libqsqlmysql.so #%{_qt5_plugindir}/sqldrivers/libqsqlmysql.so
%{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QMYSQLDriverPlugin.cmake #%{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QMYSQLDriverPlugin.cmake


%files odbc %files odbc
%{_qt5_plugindir}/sqldrivers/libqsqlodbc.so %{_qt5_plugindir}/sqldrivers/libqsqlodbc.so

Loading…
Cancel
Save