diff options
author | Remi Collet <remi@remirepo.net> | 2019-05-27 07:43:39 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-05-27 07:43:39 +0200 |
commit | 5ffd1c19b97adae8020c8104b3b463d3d27367b7 (patch) | |
tree | ccfbfd01c765259f023f0b624c220e2c8c97c945 /php-pecl-ev.spec | |
parent | a45b1d48920dbe569f0f19ce759da8a3356a3877 (diff) |
v1.0.6
Diffstat (limited to 'php-pecl-ev.spec')
-rw-r--r-- | php-pecl-ev.spec | 44 |
1 files changed, 16 insertions, 28 deletions
diff --git a/php-pecl-ev.spec b/php-pecl-ev.spec index 24732b4..1f76a47 100644 --- a/php-pecl-ev.spec +++ b/php-pecl-ev.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-ev # -# Copyright (c) 2013-2017 Remi Collet +# Copyright (c) 2013-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -27,14 +27,12 @@ Summary: Provides interface to libev library Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.0.4 +Version: 1.0.6 Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel > 5.4 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-sockets @@ -57,22 +55,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} -%endif -%if "%{php_version}" > "7.0" -Obsoletes: php70u-pecl-%{pecl_name} <= %{version} -Obsoletes: php70w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.1" Obsoletes: php71u-pecl-%{pecl_name} <= %{version} Obsoletes: php71w-pecl-%{pecl_name} <= %{version} @@ -81,6 +63,14 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version} 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 %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -107,6 +97,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +sed -e s/1.0.5/1.0.6/ -i php5/php_ev.h + # Sanity check, really often broken extver=$(sed -n '/define PHP_EV_VERSION/{s/.* "//;s/".*$//;p}' php%(%{__php} -r 'echo PHP_MAJOR_VERSION;')/php_ev.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -148,8 +140,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS install INSTALL_ROOT=%{buildroot} # install config file - z-eio.ini to ensure load order (after sockets) @@ -171,7 +161,7 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%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 @@ -229,12 +219,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -249,6 +234,9 @@ rm -rf %{buildroot} %changelog +* Mon May 27 2019 Remi Collet <remi@remirepo.net> - 1.0.6-1 +- update to 1.0.6 + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.0.4-2 - rebuild for PHP 7.2.0beta1 new API |