SPECS: php4.spec - add php/zend module api version provides
glen
glen at pld-linux.org
Tue Sep 13 22:42:09 CEST 2005
Author: glen Date: Tue Sep 13 20:42:08 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add php/zend module api version provides
---- Files affected:
SPECS:
php4.spec (1.474 -> 1.475)
---- Diffs:
================================================================
Index: SPECS/php4.spec
diff -u SPECS/php4.spec:1.474 SPECS/php4.spec:1.475
--- SPECS/php4.spec:1.474 Mon Sep 12 19:07:14 2005
+++ SPECS/php4.spec Tue Sep 13 22:42:03 2005
@@ -189,7 +189,7 @@
%{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
BuildRequires: rpm-build >= 4.4.0
BuildRequires: rpm-php-pearprov >= 4.0.2-100
-BuildRequires: rpmbuild(macros) >= 1.230
+BuildRequires: rpmbuild(macros) >= 1.238
%{?with_xslt:BuildRequires: sablotron-devel >= 0.96}
BuildRequires: sed >= 4.0
BuildRequires: t1lib-devel
@@ -214,6 +214,9 @@
%define _phpsharedir %{_datadir}/php
%define extensionsdir %{_libdir}/php4
+# redefine to use versions from current source
+%define __php_includedir %{_builddir}/php-%{version}
+
%description
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated web pages. PHP also
@@ -379,6 +382,9 @@
Provides: %{name}-session = %{epoch}:%{version}-%{release}
Provides: php-common = %{epoch}:%{version}-%{release}
Provides: php-session = %{epoch}:%{version}-%{release}
+Provides: php(modules_api) = %{php_api_version}
+Provides: php(zend_module_api) = %{zend_module_api}
+Provides: php(zend_extension_api) = %{zend_extension_api}
Obsoletes: php-session < 3:4.2.1-2
Obsoletes: php4-openssl < 3:4.4.0-4
# for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
@@ -1581,6 +1587,7 @@
Moduł PHP umożliwiający używanie kompresji zlib.
%prep
+# IMPORTANT: if you change '%setup', you should change %php_sourcedir macro earlier in this file
%setup -q -n php-%{version}
%patch0 -p1
%patch1 -p1
@@ -3097,6 +3104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.475 2005/09/13 20:42:03 glen
+- add php/zend module api version provides
+
Revision 1.474 2005/09/12 17:07:14 glen
- add /usr/share/php to php4-common package for apps like jpgraph and phplib, rel 7; STBR
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php4.spec?r1=1.474&r2=1.475&f=u
More information about the pld-cvs-commit
mailing list