Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
EL7
>
php-pecl-mcrypt
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
php-pecl-mcrypt.spec
@@ -11,7 +11,7 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name mcrypt %global ini_name 30-%{pecl_name}.ini - +%global with_tests 0 Summary: Bindings for the libmcrypt library Name: %{?scl_prefix}php-pecl-mcrypt Version: 1.0.1 @@ -145,10 +145,12 @@ --define extension=%{pecl_name} \ --modules | grep %{pecl_name} +%if %{with_tests} : upstream test suite for NTS extension TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ %{__php} -n run-tests.php --show-diff +%endif %if %{with_zts} cd ../ZTS @@ -158,11 +160,13 @@ --define extension=%{pecl_name} \ --modules | grep %{pecl_name} +%if %{with_tests} : upstream test suite for ZTS extension TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ %{__ztsphp} -n run-tests.php --show-diff %endif +%endif %if 0%{?fedora} < 24