From 74882db6966a1aff18e2e0dddf1e8bdc17f96271 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Aug 2019 14:31:42 +0200 Subject: drop echo.py which is python 2 only --- php-pecl-swoole4.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-pecl-swoole4.spec') diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec index c15d013..482c8b9 100644 --- a/php-pecl-swoole4.spec +++ b/php-pecl-swoole4.spec @@ -31,7 +31,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}4 Version: 4.4.4 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is ASL 2.0 # Hiredis is BSD License: ASL 2.0 and BSD @@ -252,6 +252,10 @@ 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 done +# code not compatible with Python 3 +rm %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/swoole_process/echo.py +rm %{buildroot}%{pecl_docdir}/%{pecl_name}/examples/process/echo.py + %if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us @@ -326,6 +330,9 @@ cd ../ZTS %changelog +* Fri Aug 23 2019 Remi Collet - 4.4.4-2 +- drop echo.py which is python 2 only + * Sun Aug 18 2019 Remi Collet - 4.4.4-1 - update to 4.4.4 -- cgit