Author: arekm                        Date: Mon Oct 25 06:33:07 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 6; make sure it uses correct zend_extension directive for php 5.2 and 5.3

---- Files affected:
packages/php-ioncube:
   php-ioncube.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/php-ioncube/php-ioncube.spec
diff -u packages/php-ioncube/php-ioncube.spec:1.17 
packages/php-ioncube/php-ioncube.spec:1.18
--- packages/php-ioncube/php-ioncube.spec:1.17  Mon Oct 25 08:09:22 2010
+++ packages/php-ioncube/php-ioncube.spec       Mon Oct 25 08:33:02 2010
@@ -15,7 +15,7 @@
 Version:       %{ver}
 # Never decrease release in this package.
 # As not all arch versions are identical, you could be making some arch 
package older.
-Release:       5
+Release:       6
 License:       redistributable
 Group:         Libraries
 Source0:       
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2
@@ -25,11 +25,10 @@
 Source2:       
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_ppc.tar.bz2
 # Source2-md5: 592ecac4c53028ad22e8cfb0cc8edd36
 URL:           http://www.ioncube.com/
-BuildRequires: php-devel >= 4:5.3.0
+BuildRequires: php-devel >= 4:5.2.0
 BuildRequires: rpmbuild(macros) >= 1.579
 BuildRequires: sed >= 4.0
 %{?requires_php_extension}
-Requires:      php-common >= 4:5.3.0
 ExclusiveArch: %{ix86} %{x8664} ppc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,7 +63,11 @@
 install -p %{modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
 ; Enable %{modname} extension module
+%if %{php_major_version} == 5 && %{php_minor_version} < 3
 zend_extension%{?zend_zts:_ts}=%{php_extensiondir}/%{modname}.so
+%else
+zend_extension=%{php_extensiondir}/%{modname}.so
+%endif
 EOF
 
 %clean
@@ -90,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2010/10/25 06:33:02  arekm
+- rel 6; make sure it uses correct zend_extension directive for php 5.2 and 5.3
+
 Revision 1.17  2010/10/25 06:09:22  arekm
 - rel 5; use zend_extension_ts for ts enabled ioncube
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-ioncube/php-ioncube.spec?r1=1.17&r2=1.18&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to