diff --git a/0001-Fedora-package-is-new-enough.patch b/0001-Fedora-package-is-new-enough.patch new file mode 100644 index 0000000..cfff2d6 --- /dev/null +++ b/0001-Fedora-package-is-new-enough.patch @@ -0,0 +1,25 @@ +From ce9c0bcd28b9048c057ff8f4630231dd129a6c10 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Thu, 4 Aug 2011 14:01:07 +0100 +Subject: [PATCH] Fedora package is new enough + +--- + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7cab005..86a3705 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -257,7 +257,7 @@ dnl ================================================================ + dnl GJS Javascript Engine + dnl ================================================================ + +-GJS_REQUIRED=1.29.16 ++GJS_REQUIRED=1.29.15 + + AC_ARG_ENABLE(gjs, + AS_HELP_STRING([--enable-gjs],[Enable GJS support]), +-- +1.7.6 + diff --git a/libpeas.spec b/libpeas.spec index d39b365..59a5cde 100644 --- a/libpeas.spec +++ b/libpeas.spec @@ -24,6 +24,7 @@ Requires: gobject-introspection # https://bugzilla.gnome.org/show_bug.cgi?id=655475 Patch0: newer-gjs.patch +Patch1: 0001-Fedora-package-is-new-enough.patch BuildRequires: autoconf automake gnome-common %description @@ -46,6 +47,7 @@ that are needed to write applications that use libpeas. # For newer gjs %patch0 -p1 -b .newer-gjs +%patch1 -p1 -b .gjs-req autoreconf -f %build