]> git.pld-linux.org Git - packages/php.git/commitdiff
- fresh use rpmbuild macros; rel 4 auto/ac/php-5_0_5-4
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 13 Sep 2005 20:45:25 +0000 (20:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.475

php.spec

index 6fc10e77e2a0eb929bd4a51c30f4b8334645e853..b59aa55ce55579328afbb6da2cb790e277a7df36 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -77,7 +77,7 @@ Summary(ru):  PHP 
 Summary(uk):   PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
 Name:          php
 Version:       5.0.5
-Release:       3.2%{?with_hardening:hardened}
+Release:       4%{?with_hardening:hardened}
 Epoch:         4
 Group:         Libraries
 License:       PHP
@@ -184,7 +184,7 @@ BuildRequires:      readline-devel
 %{?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_sqlite:BuildRequires:  sqlite-devel}
 BuildRequires: t1lib-devel
 %{?with_tidy:BuildRequires:    tidy-devel}
@@ -208,10 +208,6 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # redefine to use versions from current source
 %define                __php_includedir %{_builddir}/%{name}-%{version}
-# these will be moved to rpm.macros later on.
-%define                php_api_version %(awk '/#define PHP_API_VERSION/{print $3}' %{__php_includedir}/main/php.h 2>/dev/null || echo ERROR)
-%define                zend_module_api %(awk '/#define ZEND_MODULE_API_NO/{print $3}' %{__php_includedir}/Zend/zend_modules.h 2>/dev/null || echo ERROR)
-%define                zend_extension_api %(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' %{__php_includedir}/Zend/zend_extensions.h 2>/dev/null || echo ERROR)
 
 %description
 PHP is an HTML-embedded scripting language. PHP attempts to make it
@@ -370,6 +366,7 @@ Group:              Libraries
 Requires:      glibc >= 6:2.3.5
 Requires:      sed >= 4.0
 Provides:      %{name}-session = %{epoch}:%{version}-%{release}
+# FIXME: apache2 specific Provides
 Provides:      php-common(apache-modules-api) = %{apache_modules_api}
 Provides:      php(modules_api) = %{php_api_version}
 Provides:      php(zend_module_api) = %{zend_module_api}
This page took 0.153706 seconds and 4 git commands to generate.