From e81bcefbb3833396018edc3c4d064971db0a7821 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 4 Jan 2016 09:27:37 +0100 Subject: php-pecl-apcu-bc: test build (upcoming 1.0.1) --- REFLECTION | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-apcu-bc.spec | 11 ++-- 2 files changed, 178 insertions(+), 4 deletions(-) create mode 100644 REFLECTION diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..3e95e60 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,171 @@ +Extension [ extension #70 apc version 5.1.2 ] { + + - Dependencies { + Dependency [ apcu (Required) ] + } + + - Functions { + Function [ function apc_cache_info ] { + + - Parameters [2] { + Parameter #0 [ $type ] + Parameter #1 [ $limited ] + } + } + Function [ function apc_clear_cache ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + Function [ function apc_store ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $var ] + Parameter #2 [ $ttl ] + } + } + Function [ function apc_fetch ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ &$success ] + } + } + Function [ function apc_enabled ] { + + - Parameters [0] { + } + } + Function [ function apc_delete ] { + + - Parameters [1] { + Parameter #0 [ $keys ] + } + } + Function [ function apc_add ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $var ] + Parameter #2 [ $ttl ] + } + } + Function [ function apc_sma_info ] { + + - Parameters [1] { + Parameter #0 [ $limited ] + } + } + Function [ function apc_inc ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $step ] + Parameter #2 [ &$success ] + } + } + Function [ function apc_dec ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $step ] + Parameter #2 [ &$success ] + } + } + Function [ function apc_cas ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $old ] + Parameter #2 [ $new ] + } + } + Function [ function apc_exists ] { + + - Parameters [1] { + Parameter #0 [ $keys ] + } + } + } + + - Classes [1] { + Class [ class APCIterator extends APCuIterator implements Traversable, Iterator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [5] { + Parameter #0 [ $ignored ] + Parameter #1 [ $search ] + Parameter #2 [ $format ] + Parameter #3 [ $chunk_size ] + Parameter #4 [ $list ] + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method getTotalHits ] { + + - Parameters [0] { + } + } + + Method [ public method getTotalSize ] { + + - Parameters [0] { + } + } + + Method [ public method getTotalCount ] { + + - Parameters [0] { + } + } + } + } + } +} + diff --git a/php-pecl-apcu-bc.spec b/php-pecl-apcu-bc.spec index e40707e..55ca117 100644 --- a/php-pecl-apcu-bc.spec +++ b/php-pecl-apcu-bc.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-apcu-bc # -# Copyright (c) 2015 Remi Collet +# Copyright (c) 2015-2016 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -35,12 +35,12 @@ Name: %{?sub_prefix}php-pecl-%{pecl_name} Summary: APCu Backwards Compatibility Module -Version: 1.0.0 +Version: 1.0.1 %if 0%{?gh_date:1} Release: 0.1.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{proj_name}-%{version}-%{gh_short}.tar.gz %else -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz %endif @@ -111,7 +111,7 @@ mv %{proj_name}-%{version} NTS cd NTS # Sanity check, really often broken -extver=$(sed -n '/#define PHP_APC_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) +extver=$(sed -n '/#define PHP_APCU_BC_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:dev}"; then : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}%{?gh_date:dev}. exit 1 @@ -238,6 +238,9 @@ fi %changelog +* Mon Jan 4 2016 Remi Collet - 1.0.1-0 +- test build for upcoming 1.0.1 + * Sat Dec 26 2015 Remi Collet - 1.0.0-2 - missing dependency on APCu -- cgit