From 2c93604b5892b25ea13bd9859732f451629b7df4 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 14 Jun 2017 06:37:31 +0200 Subject: [PATCH] Don't use git to apply patches Doing so makes the gjs build system think it's a git checkout which in turn makes it add additional -WError flags that break our build. --- gjs.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gjs.spec b/gjs.spec index 77d2363..2dc7b3b 100644 --- a/gjs.spec +++ b/gjs.spec @@ -28,7 +28,7 @@ BuildRequires: intltool BuildRequires: mozjs38-devel >= %{mozjs38_version} BuildRequires: pkgconfig # Bootstrap requirements -BuildRequires: gtk-doc gnome-common git +BuildRequires: gtk-doc gnome-common Requires: glib2%{?_isa} >= %{glib2_version} Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version} @@ -60,7 +60,7 @@ The gjs-tests package contains tests that can be used to verify the functionality of the installed gjs package. %prep -%autosetup -S git +%autosetup -p1 %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;