File gcin-dont-copy-gcin-qt5-header.patch of Package gcin

diff --git a/configure b/configure
index bbe87e9..9a251df 100755
--- a/configure
+++ b/configure
@@ -336,15 +336,6 @@ if [ $QT5_IM = 'N' ]; then
   mv gcin.spec gcin.spec.tmp
   grep -v qt5/plugins/inputmethods gcin.spec.tmp > gcin.spec
 else
-  cd qt5-im
-  pkg-config --modversion Qt5Core | grep 5.5.1 > /dev/null 2> /dev/null
-  if [ $? = 0 ]; then
-    echo "You have Qt 5.5.1"
-    sed -e "s/FactoryInterface/FactoryInterface.5.1/" < gcin-qt5.h.in > gcin-qt5.h
-  else
-    cp gcin-qt5.h.in gcin-qt5.h
-  fi
-  cd ..
   for i in /usr/share/qt5/bin/moc /usr/lib/qt5/bin/moc /usr/lib/x86_64-linux-gnu/qt5/bin/moc /usr/lib/i386-linux-gnu/qt5/bin/moc /usr/lib64/qt5/bin/moc /usr/bin/moc
   do
     [ ! -x $i ] && continue
openSUSE Build Service is sponsored by