summaryrefslogtreecommitdiffstats
path: root/php-pecl-imagick.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-imagick.spec')
-rw-r--r--php-pecl-imagick.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index a2b3d59..85b3a23 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -232,10 +232,15 @@ cd ../NTS
%configure --with-imagick=%{_root_prefix} --with-php-config=%{__phpconfig}
%make_build
-: Dump REFLECTION
+: Dump REFLECTION and PHPINFO
%{__php} --no-php-ini \
--define extension=modules/%{pecl_name}.so \
- --re imagick >REFLECTION
+ --define imagick.skip_version_check=1 \
+ --re imagick >../REFLECTION
+%{__php} --no-php-ini \
+ --define extension=modules/%{pecl_name}.so \
+ --define imagick.skip_version_check=1 \
+ --ri imagick >../PHPINFO
%if %{with_zts}
: ZTS build
@@ -331,7 +336,8 @@ fi
%endif
%files devel
-%doc NTS/REFLECTION
+%doc REFLECTION
+%doc PHPINFO
%doc %{pecl_testdir}/%{pecl_name}
%{php_incldir}/ext/%{pecl_name}