[packages/php-adodb] optional driver deps
glen
glen at pld-linux.org
Mon Feb 3 16:12:31 CET 2014
commit 319e0421fc14913df0bff5516be28f89000d0c11
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Feb 3 17:12:22 2014 +0200
optional driver deps
php-adodb.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/php-adodb.spec b/php-adodb.spec
index 6e78551..a1119d5 100644
--- a/php-adodb.spec
+++ b/php-adodb.spec
@@ -7,13 +7,13 @@
%define ver %(echo %{version} | tr -d .)
%define pkgname adodb
-%define php_min_version 5.2.0
+%define php_min_version 5.2.3
%include /usr/lib/rpm/macros.php
Summary: Unique interface to access different SQL databases
Summary(pl.UTF-8): Jednolity inferfejs dostępu do baz danych SQL
Name: php-%{pkgname}
Version: 5.18a
-Release: 1
+Release: 2
License: BSD-Style and LGPL
Group: Libraries
Source0: http://downloads.sourceforge.net/adodb/adodb%{ver}.tgz
@@ -41,6 +41,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _appdir %{php_data_dir}/%{pkgname}
%define _noautoreq_pear \.\./.* adodb.* test.*
+# optional
+%define _noautophp php-sqlite php-pgsql php-mysql php-mysqli php-session
+
+%define _noautoreq %{?_noautophp}
+
%description
PHP's database access functions are not standardized. This creates a
need for a database class library to hide the differences between the
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-adodb.git/commitdiff/319e0421fc14913df0bff5516be28f89000d0c11
More information about the pld-cvs-commit
mailing list