summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-08-26 14:31:42 +0200
committerRemi Collet <remi@remirepo.net>2019-08-26 14:31:42 +0200
commit74882db6966a1aff18e2e0dddf1e8bdc17f96271 (patch)
treec6dbe5a574ba2206053c929135fc5a3a57546025
parent312bd66b22d127cf259b77cfca030b46385c483e (diff)
drop echo.py which is python 2 only
-rw-r--r--php-pecl-swoole4.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@remirepo.net> - 4.4.4-2
+- drop echo.py which is python 2 only
+
* Sun Aug 18 2019 Remi Collet <remi@remirepo.net> - 4.4.4-1
- update to 4.4.4