diff options
author | Remi Collet <remi@remirepo.net> | 2021-01-19 09:10:31 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-01-19 09:10:31 +0100 |
commit | 2d04f0ae07fdad46922fbd485eb75510131e46f7 (patch) | |
tree | 092e364ef3a660d3cee62d7e2d29a84e706dcf5c /php-pecl-seaslog.spec | |
parent | 85f00423eb83eb08d4eda16168d743c29efdcd90 (diff) |
update to 2.2.0
Diffstat (limited to 'php-pecl-seaslog.spec')
-rw-r--r-- | php-pecl-seaslog.spec | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/php-pecl-seaslog.spec b/php-pecl-seaslog.spec index 3435d78..78a1b41 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-2019 Remi Collet +# Copyright (c) 2015-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -25,12 +25,13 @@ Summary: An effective, fast, stable log extension for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 2.1.0 +Version: 2.2.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: https://pecl.php.net/package/%{proj_name} Source0: https://pecl.php.net/get/%{proj_name}-%{version}.tgz +BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -50,26 +51,17 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %endif -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "7.2" -Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} -Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} -Obsoletes: php74w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif - -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter shared private -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} %endif @@ -100,7 +92,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -sed -e 's/ifndef ulong/if 0/' -i include/php7_wrapper.h +#sed -e 's/ifndef ulong/if 0/' -i include/php7_wrapper.h : Sanity check, really often broken extver=$(sed -n '/#define SEASLOG_VERSION /{s/.* "//;s/".*$//;p}' include/SeasLog.h) @@ -124,7 +116,7 @@ extension=%{pecl_name}.so ;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.default_template = '%%T | %%L | %%P | %%Q | %%t | %%M' ;seaslog.disting_folder = 1 ;seaslog.disting_type = 0 ;seaslog.disting_by_hour = 0 @@ -253,6 +245,12 @@ fi %changelog +* Tue Jan 19 2021 Remi Collet <remi@remirepo.net> - 2.2.0-1 +- update to 2.2.0 + +* Wed Aug 19 2020 Remi Collet <remi@remirepo.net> - 2.1.0-2 +- F33 build + * Thu Jan 2 2020 Remi Collet <remi@remirepo.net> - 2.1.0-1 - update to 2.1.0 - open https://github.com/SeasX/SeasLog/issues/286 |