File poppler-configure-moc-version.patch of Package poppler-qt5.openSUSE_Backports_SLE-12-SP1
Index: configure
===================================================================
--- configure.orig 2013-11-27 00:17:02.000000000 +0100
+++ configure 2015-11-12 17:11:42.675708707 +0100
@@ -23259,7 +23259,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5 moc" >&5
$as_echo_n "checking for Qt5 moc... " >&6; }
mocversion=`$MOCQT5 -v 2>&1`
- mocversiongrep=`echo $mocversion | grep "Qt 5"`
+ mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"`
if test x"$mocversiongrep" != x"$mocversion"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }