From 1eb3f28c1513622102518049d0adf055215ab999 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Jun 2017 16:23:07 +0200 Subject: New package --- REFLECTION | 1172 ++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-handlebars.spec | 52 +- 2 files changed, 1213 insertions(+), 11 deletions(-) create mode 100644 REFLECTION diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..72675b2 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,1172 @@ +Extension [ extension #93 handlebars version 0.8.2RC1 ] { + + - Dependencies { + Dependency [ psr (Optional) ] + } + + - INI { + Entry [ handlebars.pool_size ] + Current = '128k' + } + Entry [ handlebars.cache.enable ] + Current = '1' + } + Entry [ handlebars.cache.enable_cli ] + Current = '0' + } + Entry [ handlebars.cache.backend ] + Current = 'mmap' + } + Entry [ handlebars.cache.max_size ] + Current = '67108864' + } + Entry [ handlebars.cache.max_entries ] + Current = '349529' + } + Entry [ handlebars.cache.max_age ] + Current = '-1' + } + Entry [ handlebars.cache.save_path ] + Current = '/tmp/php-handlebars-cache' + } + Entry [ handlebars.cache.stat ] + Current = '1' + } + } + + - Constants [4] { + Constant [ integer Handlebars\PSR ] { 0 } + Constant [ string Handlebars\VERSION ] { 0.8.2RC1 } + Constant [ string Handlebars\LIBVERSION ] { 0.6.3 } + Constant [ null Handlebars\CACHE_BACKEND ] { } + } + + - Functions { + Function [ function handlebars_cache_reset ] { + + - Parameters [0] { + } + } + } + + - Classes [19] { + Interface [ interface Handlebars\Impl ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [10] { + Method [ abstract public method getHelpers ] { + + - Parameters [0] { + } + } + + Method [ abstract public method getPartials ] { + + - Parameters [0] { + } + } + + Method [ abstract public method getDecorators ] { + + - Parameters [0] { + } + } + + Method [ abstract public method getLogger ] { + + - Parameters [0] { + } + } + + Method [ abstract public method setHelpers ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $helpers ] + } + } + + Method [ abstract public method setPartials ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $partials ] + } + } + + Method [ abstract public method setDecorators ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $partials ] + } + } + + Method [ abstract public method setLogger ] { + + - Parameters [1] { + Parameter #0 [ Psr\Log\LoggerInterface $logger ] + } + } + + Method [ abstract public method render ] { + + - Parameters [3] { + Parameter #0 [ $tmpl ] + Parameter #1 [ $context ] + Parameter #2 [ array or NULL $options ] + } + } + + Method [ abstract public method renderFile ] { + + - Parameters [3] { + Parameter #0 [ $filename ] + Parameter #1 [ $context ] + Parameter #2 [ array or NULL $options ] + } + } + } + } + + Class [ abstract class Handlebars\BaseImpl implements Handlebars\Impl ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $helpers ] + Property [ protected $partials ] + Property [ protected $decorators ] + Property [ protected $logger ] + } + + - Methods [10] { + Method [ public method getHelpers ] { + + - Parameters [0] { + } + } + + Method [ public method getPartials ] { + + - Parameters [0] { + } + } + + Method [ public method getDecorators ] { + + - Parameters [0] { + } + } + + Method [ public method getLogger ] { + + - Parameters [0] { + } + } + + Method [ public method setHelpers ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $helpers ] + } + } + + Method [ public method setPartials ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $partials ] + } + } + + Method [ public method setDecorators ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $partials ] + } + } + + Method [ public method setLogger ] { + + - Parameters [1] { + Parameter #0 [ Psr\Log\LoggerInterface $logger ] + } + } + + Method [ abstract public method render ] { + + - Parameters [3] { + Parameter #0 [ $tmpl ] + Parameter #1 [ $context ] + Parameter #2 [ array or NULL $options ] + } + } + + Method [ abstract public method renderFile ] { + + - Parameters [3] { + Parameter #0 [ $filename ] + Parameter #1 [ $context ] + Parameter #2 [ array or NULL $options ] + } + } + } + } + + Class [ class Handlebars\Compiler ] { + + - Constants [18] { + Constant [ integer NONE ] { 0 } + Constant [ integer USE_DEPTHS ] { 1 } + Constant [ integer STRING_PARAMS ] { 2 } + Constant [ integer TRACK_IDS ] { 4 } + Constant [ integer NO_ESCAPE ] { 8 } + Constant [ integer KNOWN_HELPERS_ONLY ] { 16 } + Constant [ integer PREVENT_INDENT ] { 32 } + Constant [ integer EXPLICIT_PARTIAL_CONTEXT ] { 128 } + Constant [ integer IGNORE_STANDALONE ] { 256 } + Constant [ integer ALTERNATE_DECORATORS ] { 512 } + Constant [ integer STRICT ] { 1024 } + Constant [ integer ASSUME_OBJECTS ] { 2048 } + Constant [ integer COMPAT ] { 1 } + Constant [ integer ALL ] { 4095 } + Constant [ integer USE_PARTIAL ] { 2 } + Constant [ integer IS_SIMPLE ] { 4 } + Constant [ integer USE_DECORATORS ] { 8 } + Constant [ integer RESULT_ALL ] { 15 } + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method compile ] { + + - Parameters [2] { + Parameter #0 [ $tmpl ] + Parameter #1 [ $options ] + } + } + + Method [ static public method compilePrint ] { + + - Parameters [2] { + Parameter #0 [ $tmpl ] + Parameter #1 [ $options ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Interface [ interface Handlebars\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Handlebars\ParseException extends Exception implements Throwable, Handlebars\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Handlebars\CompileException extends Exception implements Throwable, Handlebars\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Handlebars\InvalidArgumentException extends RuntimeException implements Throwable, Handlebars\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Handlebars\RuntimeException extends RuntimeException implements Throwable, Handlebars\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Handlebars\Opcode ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $opcode ] + Property [ public $args ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $opcode ] + Parameter #1 [ $args ] + } + } + } + } + + Class [ class Handlebars\Options implements ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [8] { + Property [ public $ids ] + Property [ public $hashIds ] + Property [ public $hashTypes ] + Property [ public $hashContexts ] + Property [ public $types ] + Property [ public $contexts ] + Property [ public $args ] + Property [ public $partial ] + } + + - Methods [7] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $props ] + } + } + + Method [ public method fn ] { + } + + Method [ public method inverse ] { + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $prop ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $prop ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $prop ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $prop ] + } + } + } + } + + Class [ class Handlebars\Parser ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method parse ] { + + - Parameters [1] { + Parameter #0 [ $tmpl ] + } + } + + Method [ static public method parsePrint ] { + + - Parameters [1] { + Parameter #0 [ $tmpl ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Handlebars\Program ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [10] { + Property [ public $opcodes ] + Property [ public $children ] + Property [ public $decorators ] + Property [ public $isSimple ] + Property [ public $useDepths ] + Property [ public $usePartial ] + Property [ public $useDecorators ] + Property [ public $blockParams ] + Property [ public $stringParams ] + Property [ public $trackIds ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ array $opcodes ] + Parameter #1 [ array $children ] + Parameter #2 [ $blockParams ] + } + } + } + } + + Interface [ interface Handlebars\Registry extends ArrayAccess, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ abstract public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ abstract public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ abstract public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $offset ] + Parameter #1 [ $value ] + } + } + + Method [ abstract public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + } + } + + Class [ class Handlebars\DefaultRegistry extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate, Handlebars\Registry ] { + + - Constants [2] { + Constant [ integer STD_PROP_LIST ] { 1 } + Constant [ integer ARRAY_AS_PROPS ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [22] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $array ] + Parameter #1 [ $ar_flags ] + Parameter #2 [ $iterator_class ] + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $index ] + Parameter #1 [ $newval ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method append ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method getArrayCopy ] { + + - Parameters [0] { + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method getFlags ] { + + - Parameters [0] { + } + } + + Method [ public method setFlags ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method asort ] { + + - Parameters [0] { + } + } + + Method [ public method ksort ] { + + - Parameters [0] { + } + } + + Method [ public method uasort ] { + + - Parameters [1] { + Parameter #0 [ $cmp_function ] + } + } + + Method [ public method uksort ] { + + - Parameters [1] { + Parameter #0 [ $cmp_function ] + } + } + + Method [ public method natsort ] { + + - Parameters [0] { + } + } + + Method [ public method natcasesort ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + } + + Method [ public method exchangeArray ] { + + - Parameters [1] { + Parameter #0 [ $array ] + } + } + + Method [ public method setIteratorClass ] { + + - Parameters [1] { + Parameter #0 [ $iteratorClass ] + } + } + + Method [ public method getIteratorClass ] { + + - Parameters [0] { + } + } + } + } + + Class [ class Handlebars\SafeString ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ protected $value ] + } + + - Methods [2] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + } + } + + Class [ class Handlebars\Token ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $name ] + Property [ public $text ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $text ] + } + } + } + } + + Class [ class Handlebars\Tokenizer ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method lex ] { + + - Parameters [1] { + Parameter #0 [ $tmpl ] + } + } + + Method [ static public method lexPrint ] { + + - Parameters [1] { + Parameter #0 [ $tmpl ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Handlebars\Utils ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [9] { + Method [ static public method appendContextPath ] { + + - Parameters [2] { + Parameter #0 [ $contextPath ] + Parameter #1 [ $id ] + } + } + + Method [ static public method createFrame ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ static public method nameLookup ] { + + - Parameters [2] { + Parameter #0 [ $objOrArray ] + Parameter #1 [ $field ] + } + } + + Method [ static public method indent ] { + + - Parameters [2] { + Parameter #0 [ $str ] + Parameter #1 [ $indent ] + } + } + + Method [ static public method isCallable ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ static public method isIntArray ] { + + - Parameters [1] { + Parameter #0 [ $arr ] + } + } + + Method [ static public method expression ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ static public method escapeExpression ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ static public method escapeExpressionCompat ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Handlebars\VM extends Handlebars\BaseImpl implements Handlebars\Impl ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $helpers ] + Property [ protected $partials ] + Property [ protected $decorators ] + Property [ protected $logger ] + } + + - Methods [11] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $options ] + } + } + + Method [ public method setHelpers ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $helpers ] + } + } + + Method [ public method setPartials ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $partials ] + } + } + + Method [ public method render ] { + + - Parameters [3] { + Parameter #0 [ $tmpl ] + Parameter #1 [ $context ] + Parameter #2 [ array or NULL $options ] + } + } + + Method [ public method renderFile ] { + + - Parameters [3] { + Parameter #0 [ $filename ] + Parameter #1 [ $context ] + Parameter #2 [ array or NULL $options ] + } + } + + Method [ public method getHelpers ] { + + - Parameters [0] { + } + } + + Method [ public method getPartials ] { + + - Parameters [0] { + } + } + + Method [ public method getDecorators ] { + + - Parameters [0] { + } + } + + Method [ public method getLogger ] { + + - Parameters [0] { + } + } + + Method [ public method setDecorators ] { + + - Parameters [1] { + Parameter #0 [ Handlebars\Registry $partials ] + } + } + + Method [ public method setLogger ] { + + - Parameters [1] { + Parameter #0 [ Psr\Log\LoggerInterface $logger ] + } + } + } + } + } +} + diff --git a/php-pecl-handlebars.spec b/php-pecl-handlebars.spec index 38e3573..792830c 100644 --- a/php-pecl-handlebars.spec +++ b/php-pecl-handlebars.spec @@ -11,9 +11,10 @@ %scl_package php-pecl-handlebars %endif -%global pecl_name handlebars -%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} -%global ini_name 40-%{pecl_name}.ini +%global pecl_name handlebars +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +%global ini_name 40-%{pecl_name}.ini +%global with_tests 0%{!?_without_tests:1} %global upstream_version 0.8.2 %global upstream_prever RC1 @@ -29,7 +30,8 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstr BuildRequires: %{?scl_prefix}php-devel > 5.6 BuildRequires: %{?scl_prefix}php-pear -BuildRequires: handlebars-devel +BuildRequires: libhandlebars-devel +BuildRequires: libtalloc-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -94,10 +96,9 @@ These are the files needed to compile programs using %{name}. %setup -q -c mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS -# Don't install/register tests -sed -e 's/role="test"/role="src"/' \ - %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ - -i package.xml +# Don't install/register License +%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} + cd NTS @@ -118,6 +119,17 @@ cp -pr NTS ZTS cat << 'EOF' | tee %{ini_name} ; Enable "%{pecl_name}" extension module extension=%{pecl_name}.so + +; Configuration +;handlebars.pool_size = '128k' +;handlebars.cache.enable = 1 +;handlebars.cache.enable_cli = 0 +;handlebars.cache.backend = 'mmap' +;handlebars.cache.max_size = 67108864 +;handlebars.cache.max_entries = 349529 +;handlebars.cache.max_age = -1 +;handlebars.cache.save_path = '/tmp/php-handlebars-cache' +;handlebars.cache.stat = 1 EOF @@ -166,8 +178,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} # Test & Documentation for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do [ -f NTS/tests/$i ] && install -Dpm 644 NTS/tests/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/$i - [ -f NTS/$i ] && install -Dpm 644 NTS/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i +do install -Dpm 644 NTS/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i done for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i @@ -201,18 +212,37 @@ cd NTS --define extension=modules/%{pecl_name}.so \ --modules | grep %{pecl_name} +%if %{with_tests} +# Upstream test suite +TEST_PHP_EXECUTABLE=%{__php} \ +TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \ +NO_INTERACTION=1 \ +REPORT_EXIT_STATUS=1 \ +%{__php} -n run-tests.php --show-diff +%endif + %if %{with_zts} : Minimal load test for ZTS extension cd ../ZTS %{__ztsphp} --no-php-ini \ --define extension=modules/%{pecl_name}.so \ --modules | grep %{pecl_name} + +%if %{with_tests} +# Upstream test suite +TEST_PHP_EXECUTABLE=%{__ztsphp} \ +TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \ +NO_INTERACTION=1 \ +REPORT_EXIT_STATUS=1 \ +%{__ztsphp} -n run-tests.php --show-diff +%endif %endif %files %{!?_licensedir:%global license %%doc} -%license NTS/LICENSE +%license NTS/LICENSE.md +%doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml %config(noreplace) %{php_inidir}/%{ini_name} -- cgit