[qt] fix when not building with -webkit

Rex Dieter rdieter at fedoraproject.org
Sun Dec 16 22:24:05 UTC 2012


commit c56c2fc84ae048724cf464588f4ddcb7478ff3a8
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Sun Dec 16 16:23:30 2012 -0600

    fix when not building with -webkit

 qt.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/qt.spec b/qt.spec
index 5729ad9..9b8f9ba 100644
--- a/qt.spec
+++ b/qt.spec
@@ -897,9 +897,11 @@ fi
 %{_qt4_demosdir}/
 %endif
 
+%if "%{?webkit}" == "-webkit"
 %files designer-plugin-webkit
 %defattr(-,root,root,-)
 %{_qt4_plugindir}/designer/libqwebview.so
+%endif
 
 %post devel
 touch --no-create %{_datadir}/icons/hicolor ||:


More information about the scm-commits mailing list