diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 18 | ||||
-rw-r--r-- | php-pecl-translit.spec | 30 |
4 files changed, 37 insertions, 15 deletions
@@ -1,5 +1,7 @@ +clog package-*.xml *.tgz +*.tar.bz2 *.tar.gz *.tar.xz *.tar.xz.asc @@ -2,4 +2,4 @@ translit Transliteration support => enabled -Version => 0.7.0 +Version => 0.7.1 @@ -1,9 +1,25 @@ -Extension [ <persistent> extension #111 translit version 0.7.0 ] { +Extension [ <persistent> extension #117 translit version 0.7.1 ] { + + - Dependencies { + Dependency [ iconv (Required) ] + } - Functions { Function [ <internal:translit> function transliterate ] { + + - Parameters [4] { + Parameter #0 [ <required> string $string ] + Parameter #1 [ <required> array $filter_list ] + Parameter #2 [ <optional> string $charset_in ] + Parameter #3 [ <optional> string $charset_out ] + } + - Return [ string ] } Function [ <internal:translit> function transliterate_filters_get ] { + + - Parameters [0] { + } + - Return [ array ] } } } diff --git a/php-pecl-translit.spec b/php-pecl-translit.spec index f8a1995..965e4ca 100644 --- a/php-pecl-translit.spec +++ b/php-pecl-translit.spec @@ -19,8 +19,8 @@ Summary: Transliterates non-latin character sets to latin Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 0.7.0 -Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 0.7.1 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD URL: https://pecl.php.net/package/%{pecl_name} @@ -46,19 +46,16 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{releas 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 %endif @@ -88,7 +85,6 @@ mv %{pecl_name}-%{version} NTS %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} cd NTS - # Sanity check, really often broken extver=$(sed -n '/#define PHP_TRANSLIT_VERSION/{s/.* "//;s/".*$//;p}' php_translit.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -177,14 +173,14 @@ fi %{__php} -n \ $DEPMOD \ -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ - -m | grep %{pecl_name} + -m | grep '^%{pecl_name}$' %if %{with_zts} : Minimal load test for ZTS extension %{__ztsphp} -n \ $DEPMOD \ -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - -m | grep %{pecl_name} + -m | grep '^%{pecl_name}$' %endif %if %{with_tests} @@ -228,7 +224,15 @@ REPORT_EXIT_STATUS=1 \ %changelog -* Mon Feb 24 2020 Remi Collet <remi@remirepo.net> - 0.7.0-1 +* Thu Oct 1 2020 Remi Collet <remi@remirepo.net> - 0.7.1-1 +- update to 0.7.1 +- drop patch merged upstream + +* Mon Feb 24 2020 Remi Collet <remi@remirepo.net> - 0.7.0-5 +- add patch for PHP 8 from + https://github.com/derickr/pecl-translit/pull/8 + +* Mon Feb 24 2020 Remi Collet <remi@remirepo.net> - 0.7.0-4 - update to 0.7.0 - raise dependency on PHP 7.0 - sources from PECL |