diff options
Diffstat (limited to 'php-pecl-seaslog.spec')
-rw-r--r-- | php-pecl-seaslog.spec | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/php-pecl-seaslog.spec b/php-pecl-seaslog.spec index 56a3278..007a157 100644 --- a/php-pecl-seaslog.spec +++ b/php-pecl-seaslog.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-seaslog # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -23,15 +23,15 @@ %global ini_name 40-%{pecl_name}.ini %endif -Summary: A effective,fast,stable log extension for PHP +Summary: An effective, fast, stable log extension for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.7.6 +Version: 1.8.4 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP -Group: Development/Languages URL: http://pecl.php.net/package/%{proj_name} Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -50,14 +50,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name} <= %{version} -Obsoletes: php53u-pecl-%{pecl_name} <= %{version} -Obsoletes: php54-pecl-%{pecl_name} <= %{version} -Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" -Obsoletes: php55u-pecl-%{pecl_name} <= %{version} -Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} @@ -84,18 +76,18 @@ Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %description -A effective,fast,stable log extension for PHP. -- In the PHP project, for convenient record log +An effective, fast, stable log extension for PHP. +- In the PHP project, for convenient record log. - The default log directory and module configuration. -- Specify the log directory and get the current configuration -- Analysis of early warning framework preliminary -- Buffer debug efficient log buffer, convenient -- With PSR-3 Logger interface -- Error and exception automatic logging -- Support appender with File,TCP,UDP -- Send to Rsyslog(TCP/UDP) with RFC5424 -- Support RequestId differentiated requests -- Support for log template customizations +- Specify the log directory and get the current configuration. +- Analysis of early warning framework preliminary. +- Buffer debug efficient log buffer, convenient. +- With PSR-3 Logger interface. +- Error and exception automatic logging. +- Support appender with File,TCP,UDP. +- Send to Rsyslog(TCP/UDP) with RFC5424. +- Support RequestId differentiated requests. +- Support for log template customizations. Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -131,17 +123,22 @@ extension=%{pecl_name}.so ; Configuration ;seaslog.default_basepath = '/var/log/www' +;seaslog.default_logger = 'default' ;seaslog.default_datetime_format = 'Y-m-d H:i:s' ;seaslog.default_template = '%T | %L | %P | %Q | %t | %M' -;seaslog.logger = 'default' +;seaslog.disting_folder = 1 ;seaslog.disting_type = 0 ;seaslog.disting_by_hour = 0 ;seaslog.use_buffer = 0 +;seaslog.trace_notice = 0 +;seaslog.trace_warning = 0 ;seaslog.trace_error = 1 ;seaslog.trace_exception = 0 ;seaslog.buffer_size = 0 ;seaslog.level = 0 +;seaslog.recall_depth = 0 ;seaslog.appender = 1 +;seaslog.appender_retry = 0 ;seaslog.remote_host = '127.0.0.1' ;seaslog.remote_port = 514 ;seaslog.trim_wrap = 0 @@ -211,7 +208,7 @@ cd ../ZTS %endif -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -246,6 +243,10 @@ fi %changelog +* Fri Mar 23 2018 Remi Collet <remi@remirepo.net> - 1.8.4-1 +- update to 1.8.4 +- add comments for new options in provided configuration + * Tue Sep 19 2017 Remi Collet <remi@remirepo.net> - 1.7.6-1 - Update to 1.7.6 |