summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-06 11:05:52 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-06 11:05:52 +0100
commit960e8f5e8b998b779dd5d62440ea426f3979bc1b (patch)
treed6146f49bd4e4bb4dd8bdfe7c309408aac62b9f0
parente81bcefbb3833396018edc3c4d064971db0a7821 (diff)
php-pecl-apcu-bc: 1.0.1 (php 7, beta)
-rw-r--r--php-pecl-apcu-bc.spec23
1 files changed, 14 insertions, 9 deletions
diff --git a/php-pecl-apcu-bc.spec b/php-pecl-apcu-bc.spec
index 55ca117..b8e9f0e 100644
--- a/php-pecl-apcu-bc.spec
+++ b/php-pecl-apcu-bc.spec
@@ -35,12 +35,14 @@
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Summary: APCu Backwards Compatibility Module
+# From APCU, to be greater that last APC version
+%global apcver 5.1.2
Version: 1.0.1
%if 0%{?gh_date:1}
Release: 0.1.%{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}/%{proj_name}-%{version}-%{gh_short}.tar.gz
%else
-Release: 0%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz
%endif
@@ -51,20 +53,20 @@ URL: http://pecl.php.net/package/APCu
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: %{?scl_prefix}php-pecl-apcu-devel
+BuildRequires: %{?scl_prefix}php-pecl-apcu-devel >= 5.1.2
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
-Requires: %{?scl_prefix}php-pecl-apcu%{?_isa}
+Requires: %{?scl_prefix}php-pecl-apcu%{?_isa} >= 5.1.2
Obsoletes: %{?scl_prefix}php-pecl-apc < 4
-Provides: %{?scl_prefix}php-apc = %{version}
-Provides: %{?scl_prefix}php-apc%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-pecl-apc = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-apc%{?_isa} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl(APC) = %{version}
-Provides: %{?scl_prefix}php-pecl(APC)%{?_isa} = %{version}
+Provides: %{?scl_prefix}php-apc = %{apcver}
+Provides: %{?scl_prefix}php-apc%{?_isa} = %{apcver}
+Provides: %{?scl_prefix}php-pecl-apc = %{apcver}-%{release}
+Provides: %{?scl_prefix}php-pecl-apc%{?_isa} = %{apcver}-%{release}
+Provides: %{?scl_prefix}php-pecl(APC) = %{apcver}
+Provides: %{?scl_prefix}php-pecl(APC)%{?_isa} = %{apcver}
Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version}
# For "more" SCL
@@ -238,6 +240,9 @@ fi
%changelog
+* Wed Jan 6 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
+- Update to 1.0.1 (beta)
+
* Mon Jan 4 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-0
- test build for upcoming 1.0.1