diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-02-02 07:13:10 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-02-02 07:13:10 +0100 |
commit | e451875b86fde2a8441bb88e98478e41b6273abb (patch) | |
tree | e56a2bb13f67a51a1123f14875f7619768e6dfd6 | |
parent | 7640677ffd469ae040abff440de3880f664c89db (diff) |
php-doctrine-cache: fix for EL-5
-rw-r--r-- | php-doctrine-cache.spec | 9 |
1 files changed, 9 insertions, 0 deletions
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 \ |