commit 710385ce4ac7656670c617a8c2063088875ba849
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Oct 28 23:22:22 2017 +0300

    tests require pcre
    
    The test-suite requires that you have pcre extension enabled.
    To enable this extension either compile your PHP with --with-pcre-regex
    or if you've compiled pcre as a shared module load it via php.ini.

 php-pecl-timecop.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/php-pecl-timecop.spec b/php-pecl-timecop.spec
index 3838c52..466ea9b 100644
--- a/php-pecl-timecop.spec
+++ b/php-pecl-timecop.spec
@@ -17,6 +17,9 @@ URL:          https://pecl.php.net/package/timecop/
 BuildRequires: %{php_name}-cli
 BuildRequires: %{php_name}-devel
 BuildRequires: rpmbuild(macros) >= 1.666
+%if %{with tests}
+BuildRequires: %{php_name}-pcre
+%endif
 %{?requires_php_extension}
 Provides:      php(%{modname}) = %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-timecop.git/commitdiff/710385ce4ac7656670c617a8c2063088875ba849

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

Reply via email to