]> git.pld-linux.org Git - packages/polkit.git/commitdiff
- update BR to js187
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Dec 2014 22:58:30 +0000 (22:58 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Dec 2014 22:58:30 +0000 (22:58 +0000)
js187.patch [new file with mode: 0644]
polkit.spec

diff --git a/js187.patch b/js187.patch
new file mode 100644 (file)
index 0000000..ac72843
--- /dev/null
@@ -0,0 +1,23 @@
+--- polkit-0.112/configure.ac~ 2014-12-29 22:40:04.000000000 +0000
++++ polkit-0.112/configure.ac  2014-12-29 22:41:01.765503630 +0000
+@@ -129,16 +129,16 @@
+ AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [G_ENCODE_VERSION(2,34)],
+         [Notify us when we'll need to transition away from g_type_init()])
+-AC_ARG_WITH(mozjs, AS_HELP_STRING([--with-mozjs=@<:@mozjs185/mozjs-17.0|auto@:>@],
++AC_ARG_WITH(mozjs, AS_HELP_STRING([--with-mozjs=@<:@mozjs187/mozjs-17.0|auto@:>@],
+                                 [Specify version of Spidermonkey to use]),,
+             with_mozjs=auto)
+ AS_IF([test x${with_mozjs} != xauto], [
+   PKG_CHECK_MODULES(LIBJS, ${with_mozjs})
+ ], [
+-  PKG_CHECK_MODULES(LIBJS, [mozjs185], have_mozjs185=yes, have_mozjs185=no)
+-  AS_IF([test x${have_mozjs185} = xno], [
++  PKG_CHECK_MODULES(LIBJS, [mozjs187], have_mozjs187=yes, have_mozjs187=no)
++  AS_IF([test x${have_mozjs187} = xno], [
+   PKG_CHECK_MODULES(LIBJS, [mozjs-17.0], have_mozjs17=yes,
+-   [AC_MSG_ERROR([Could not find mozjs185 or mozjs-17.0; see http://ftp.mozilla.org/pub/mozilla.org/js/])])
++   [AC_MSG_ERROR([Could not find mozjs187 or mozjs-17.0; see http://ftp.mozilla.org/pub/mozilla.org/js/])])
+   ])
+ ])
+ AC_SUBST(LIBJS_CFLAGS)
index 99aa655b0351f47e8881de4f482be02359be8a55..4101e3b26c0185d55f851bdf0857f0a7013bf8fb 100644 (file)
@@ -13,6 +13,7 @@ Group:                Libraries
 Source0:       http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
 # Source0-md5: b0f2fa00a55f47c6a5d88e9b73f80127
 Patch0:                systemd-fallback.patch
+Patch1:                js187.patch
 URL:           http://www.freedesktop.org/wiki/Software/polkit
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.7
@@ -26,7 +27,7 @@ BuildRequires:        gobject-introspection-devel >= 0.6.2
 %{?with_apidocs:BuildRequires: gtk-doc >= 1.3}
 BuildRequires: gtk-doc-automake >= 1.3
 BuildRequires: intltool >= 0.40.0
-BuildRequires: js185-devel
+BuildRequires: js187-devel
 BuildRequires: libtool
 BuildRequires: libxslt-progs
 BuildRequires: pam-devel >= 0.80
@@ -111,6 +112,7 @@ Statyczne biblioteki PolicyKit.
 %prep
 %setup -q
 %{?with_systemd:%patch0 -p1}
+%patch1 -p1
 
 %build
 %{?with_apidocs:%{__gtkdocize}}
This page took 0.124783 seconds and 4 git commands to generate.