Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
EL7
>
php-7.2.3
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
php.spec
@@ -30,6 +30,7 @@ # Build ZTS extension or only NTS %global with_zts 1 +%global with_mcrypt 0 %if 0%{?__isa_bits:1} %global isasuffix -%{__isa_bits} @@ -590,6 +591,7 @@ The php-dba package contains a dynamic shared object that will add support for using the DBA database abstraction layer to PHP. +%if %{with_mcrypt} %package mcrypt Summary: Standard PHP module provides mcrypt library support Group: Development/Languages @@ -601,6 +603,7 @@ %description mcrypt The php-mcrypt package contains a dynamic shared object that will add support for using the mcrypt library to PHP. +%endif %package tidy Summary: Standard PHP module provides tidy library support @@ -972,7 +975,9 @@ --with-libedit \ --with-pspell=shared \ --enable-phar=shared \ +%if %{with_mcrypt} --with-mcrypt=shared,%{_prefix} \ +%endif --with-tidy=shared,%{_prefix} \ --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ --enable-shmop=shared \ @@ -1097,7 +1102,9 @@ --with-libedit \ --with-pspell=shared \ --enable-phar=shared \ +%if %{with_mcrypt} --with-mcrypt=shared,%{_prefix} \ +%endif --with-tidy=shared,%{_prefix} \ --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ --enable-shmop=shared \ @@ -1246,7 +1253,10 @@ interbase pdo_firebird \ sqlite3 \ enchant phar fileinfo intl \ - mcrypt tidy pdo_dblib pspell curl wddx \ +%if %{with_mcrypt} + mcrypt \ +%endif + tidy pdo_dblib pspell curl wddx \ posix shmop sysvshm sysvsem sysvmsg recode xml \ ; do case $mod in @@ -1484,7 +1494,9 @@ %files gmp -f files.gmp %files dba -f files.dba %files pdo -f files.pdo +%if %{with_mcrypt} %files mcrypt -f files.mcrypt +%endif %files tidy -f files.tidy %files pdo-dblib -f files.pdo_dblib %files pspell -f files.pspell