summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-apcu.spec14
1 files changed, 5 insertions, 9 deletions
diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec
index 3b3ffa7..39c8d88 100644
--- a/php-pecl-apcu.spec
+++ b/php-pecl-apcu.spec
@@ -18,7 +18,6 @@
%scl_package php-pecl-apcu
%endif
-%global bootstrap 0
%global gh_commit b771cd50a7fe519b6aaccbe5dc97594e68e0c88f
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner krakjoe
@@ -35,7 +34,7 @@ Version: 5.1.10
Release: 0.2.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz
%else
-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;')}}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
%endif
Source1: %{pecl_name}-5.1.2.ini
@@ -45,7 +44,7 @@ Source3: %{pecl_name}.conf.php
License: PHP
URL: http://pecl.php.net/package/APCu
-BuildRequires: gcc
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: pcre-devel
@@ -53,12 +52,6 @@ BuildRequires: pcre-devel
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
-%if ! %{bootstrap}
-%if "%{php_version}" < "7.2"
-# For user experience
-Requires: %{?scl_prefix}php-pecl-apcu-bc%{?_isa}
-%endif
-%endif
Obsoletes: %{?scl_prefix}php-apcu < 4.0.0-1
Provides: %{?scl_prefix}php-apcu = %{version}
@@ -323,6 +316,9 @@ fi
%changelog
+* Mon Feb 26 2018 Remi Collet <remi@remirepo.net> - 5.1.10-2
+- drop dependency on apcu-bc
+
* Fri Feb 16 2018 Remi Collet <remi@remirepo.net> - 5.1.10-1
- update to 5.1.10 (stable)