summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-13 09:26:50 +0100
committerRemi Collet <remi@remirepo.net>2020-01-13 09:26:50 +0100
commitfb1ec6c174829c4561d8e672d8ee475380323934 (patch)
tree746086b0d20e91f5ca05c9cd0ee50e4165dbe895
parent5c4ca5de4cd5dcebb63d17a5cea18ce182e310a2 (diff)
cleanupHEADmaster
-rw-r--r--php-phalcon4.spec26
1 files changed, 1 insertions, 25 deletions
diff --git a/php-phalcon4.spec b/php-phalcon4.spec
index aade475..3d9bb8f 100644
--- a/php-phalcon4.spec
+++ b/php-phalcon4.spec
@@ -17,17 +17,11 @@
%global pkg_name %{name}
%endif
-%global gh_commit fe17e3ae897b8d3f41d65ed328fcb734d1955b51
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-%global gh_owner phalcon
-%global gh_project cphalcon
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global with_tests 0%{?_with_tests:1}
%global pecl_name phalcon
-# See ext/php_phalcon.h
-#global zephir_ver 0.12.15
# after 40-json.ini, 20-pdo.ini, 40-psr.ini
-%global ini_name 50-%{pecl_name}.ini
+%global ini_name 50-%{pecl_name}.ini
%global upstream_ver 4.0.2
#global upstream_pre rc.3
@@ -47,21 +41,6 @@ BuildRequires: %{?scl_prefix}php-hash
BuildRequires: %{?scl_prefix}php-json
BuildRequires: %{?scl_prefix}php-pdo
BuildRequires: %{?scl_prefix}php-psr
-# For sources generation
-%if 0%{?zephir_ver:1}
-BuildRequires: %{?scl_prefix}zephir = %{zephir_ver}
-BuildRequires: %{?scl_prefix}php-gd
-BuildRequires: %{?scl_prefix}php-mbstring
-BuildRequires: %{?scl_prefix}php-memcached
-BuildRequires: %{?scl_prefix}php-msgpack
-BuildRequires: %{?scl_prefix}php-igbinary
-BuildRequires: %{?scl_prefix}php-imagick
-BuildRequires: %{?scl_prefix}php-yaml
-BuildRequires: %{?scl_prefix}php-mongodb
-BuildRequires: %{?scl_prefix}php-redis
-# pull php-pecl-apcu (PHP 5) or php-pecl-apcu-bc (PHP 7)
-BuildRequires: %{?scl_prefix}php-apc
-%endif
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -156,9 +135,6 @@ extension=%{pecl_name}.so
;phalcon.warning.enable = On
EOF
-: Check Zephir version
-grep PHP_PHALCON_ZEPVERSION NTS/php_phalcon.h
-
%build
%{?dtsenable}