File project.diff of Package qt4-qtscript

--- qt4-qtscript.changes.orig
+++ qt4-qtscript.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Thu Jul 12 15:35:02 UTC 2012 - adrian@suse.de
+
+- fix arm build
+
+-------------------------------------------------------------------
 Thu Jan 26 12:55:40 UTC 2012 - idonmez@suse.com
 
 - Fix license to be SUSE-LGPL-2.1-with-nokia-exception-1.1
--- qt4-qtscript.spec.orig
+++ qt4-qtscript.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package qt4-qtscript
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define date 20111225
 
+%define date 20111225
 
 Name:           qt4-qtscript
 Version:        0.2.0
-Release:        1
-License:        SUSE-LGPL-2.1-with-nokia-exception-1.1
+Release:        0
 Summary:        Qt bindings generator for Qt Script
-Url:            http://code.google.com/p/qtscriptgenerator/
+License:        SUSE-LGPL-2.1-with-nokia-exception-1.1
 Group:          Development/Libraries/KDE
+Url:            http://code.google.com/p/qtscriptgenerator/
 Source0:        qtscriptgenerator-src-%{version}.tar.gz
 Patch0:         qtscript-qt-no_phonon.diff
 Patch1:         gcc-44.diff
 Patch2:         qtscript-separate-webkit.patch
+Patch3:         fix-arm-build.diff
 BuildRequires:  libQtWebKit-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %requires_eq    libqt4
@@ -39,7 +40,6 @@ With the generated bindings you get acce
 the Qt API from within Qt Script.
 
 %package doc
-License:        SUSE-LGPL-2.1-with-nokia-exception-1.1
 Summary:        Qt bindings generator for Qt Script
 Group:          Development/Libraries/KDE
 Requires:       %{name} = %{version}
@@ -54,6 +54,9 @@ the Qt API from within Qt Script.
 %patch0
 %patch1
 %patch2
+%ifarch %arm
+%patch3
+%endif
 
 %build
 export QTDIR=/usr
--- qtscript-separate-webkit.patch.orig
+++ qtscript-separate-webkit.patch
@@ -1,6 +1,8 @@
---- generator/qtscript_masterinclude.h	2009-02-20 12:42:24.000000000 +0100
-+++ generator/qtscript_masterinclude.h	2011-09-27 09:38:10.798171231 +0200
-@@ -35,9 +35,7 @@
+Index: generator/qtscript_masterinclude.h
+===================================================================
+--- generator/qtscript_masterinclude.h.orig
++++ generator/qtscript_masterinclude.h
+@@ -53,9 +53,7 @@
  #  include <QtXmlPatterns/QtXmlPatterns>
  #endif
  
openSUSE Build Service is sponsored by