--- /dev/null
+--- php-pecl-spidermonkey-1.0.0/spidermonkey-1.0.0/config.m4~ 2012-04-19 05:50:36.000000000 +0200
++++ php-pecl-spidermonkey-1.0.0/spidermonkey-1.0.0/config.m4 2012-08-08 11:54:07.552281177 +0200
+@@ -36,7 +36,7 @@
+ done
+ # test for the libname independantely
+ for j in js mozjs mozjs185; do
+- test -f $i/lib/lib$j.so && SPIDERMONKEY_LIBNAME=$j && break
++ test -f $i/lib64/lib$j.so && SPIDERMONKEY_LIBNAME=$j && break
+ done
+ test -f $i/include/$j/jsapi.h && break
+ done
Summary(pl.UTF-8): %{_modname} - silnik JavaScript Spidermonkey dla PHP
Name: php-pecl-%{_modname}
Version: 1.0.0
-Release: 0.1
+Release: 1
License: PHP 3.01
Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz
# Source0-md5: 1a7a4043fa6c86bb7e3cb24e794c284b
+Patch0: lib64.patch
URL: http://pecl.php.net/package/%{_modname}/
BuildRequires: js185-devel
BuildRequires: php-devel >= 4:5.3.0
%prep
%setup -q -c
+%ifarch %{x8664}
+%patch0 -p1
+%endif
mv %{_modname}-%{version}/* .
%build