]> git.pld-linux.org Git - packages/php-pecl-timecop.git/commitdiff
tests require pcre
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 28 Oct 2017 20:22:22 +0000 (23:22 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 28 Oct 2017 20:23:02 +0000 (23:23 +0300)
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

index 3838c521b98c8dadf70d32ef25beb24dd688c105..466ea9b22b07017c1e9000ed8af89e4021235951 100644 (file)
@@ -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)
This page took 0.100931 seconds and 4 git commands to generate.