From e451875b86fde2a8441bb88e98478e41b6273abb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 2 Feb 2015 07:13:10 +0100 Subject: php-doctrine-cache: fix for EL-5 --- php-doctrine-cache.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/php-doctrine-cache.spec b/php-doctrine-cache.spec index d70581d..4406403 100644 --- a/php-doctrine-cache.spec +++ b/php-doctrine-cache.spec @@ -48,6 +48,9 @@ BuildRequires: php-hash BuildRequires: php-pcre BuildRequires: php-reflection BuildRequires: php-spl +%if 0%{?rhel} != 5 +BuildRequires: php-sqlite3 +%endif %endif Requires: php(language) >= %{php_min_ver} @@ -56,6 +59,9 @@ Requires: php-date Requires: php-hash Requires: php-pcre Requires: php-spl +%if 0%{?rhel} != 5 +Requires: php-sqlite3 +%endif # Composer Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} @@ -109,6 +115,9 @@ BOOTSTRAP # Skip tests requiring a server to connect to rm -f \ +%if 0%{?rhel} == 5 + tests/Doctrine/Tests/Common/Cache/SQLite3CacheTest.php \ +%endif tests/Doctrine/Tests/Common/Cache/CouchbaseCacheTest.php \ tests/Doctrine/Tests/Common/Cache/MongoDBCacheTest.php \ tests/Doctrine/Tests/Common/Cache/PredisCacheTest.php \ -- cgit