summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-02-02 07:13:10 +0100
committerRemi Collet <fedora@famillecollet.com>2015-02-02 07:13:10 +0100
commite451875b86fde2a8441bb88e98478e41b6273abb (patch)
treee56a2bb13f67a51a1123f14875f7619768e6dfd6
parent7640677ffd469ae040abff440de3880f664c89db (diff)
php-doctrine-cache: fix for EL-5
-rw-r--r--php-doctrine-cache.spec9
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 \