[packages/php-pecl-spidermonkey] - obsolete old php name - release 5 (by relup.sh)
glen
glen at pld-linux.org
Fri May 16 14:34:42 CEST 2014
commit 87f64db4938eb23b00614b2e262c988f097d7377
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 16 15:34:41 2014 +0300
- obsolete old php name
- release 5 (by relup.sh)
php-pecl-spidermonkey.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/php-pecl-spidermonkey.spec b/php-pecl-spidermonkey.spec
index 930e76a..ea0c2d3 100644
--- a/php-pecl-spidermonkey.spec
+++ b/php-pecl-spidermonkey.spec
@@ -5,7 +5,7 @@ Summary: %{modname} - Spidermonkey JavaScript engine for PHP
Summary(pl.UTF-8): %{modname} - silnik JavaScript Spidermonkey dla PHP
Name: %{php_name}-pecl-%{modname}
Version: 1.0.0
-Release: 4
+Release: 5
License: PHP 3.01
Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -16,9 +16,8 @@ BuildRequires: %{php_name}-devel >= 4:5.3.0
BuildRequires: js185-devel
BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
-Requires: php(core) >= 5.3.0
Provides: php(%{modname}) = %{version}
-Obsoletes: php-pear-%{modname}
+Obsoletes: php-pecl-spidermonkey < 1.0.0-4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -57,7 +56,7 @@ phpize
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
-install modules/%{modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
+install -p modules/%{modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
; Enable %{modname} extension module
extension=%{modname}.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-spidermonkey.git/commitdiff/87f64db4938eb23b00614b2e262c988f097d7377
More information about the pld-cvs-commit
mailing list