summaryrefslogtreecommitdiffstats
path: root/php-pecl-apcu.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-20 13:56:16 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-20 13:56:16 +0200
commit20e089b0bd2d4a80acd23113b8b35f15d7c39d58 (patch)
tree78cd6aafeac24bb14f725d664cb337ea624de61f /php-pecl-apcu.spec
parentcd539dfb862d922071c65c0fa5edc569304b2739 (diff)
php-pecl-apcu: 4.0.11 (PHP 5)
Diffstat (limited to 'php-pecl-apcu.spec')
-rw-r--r--php-pecl-apcu.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec
index fc0532a..9bbfba2 100644
--- a/php-pecl-apcu.spec
+++ b/php-pecl-apcu.spec
@@ -34,12 +34,12 @@
Name: %{?sub_prefix}php-pecl-apcu
Summary: APC User Cache
-Version: 4.0.10
+Version: 4.0.11
%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}/%{pecl_name}-%{version}-%{gh_short}.tar.gz
%else
-Release: 2%{?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/%{pecl_name}-%{version}.tgz
%endif
Source1: %{pecl_name}.ini
@@ -64,9 +64,10 @@ Provides: %{?scl_prefix}php-apcu = %{version}
Provides: %{?scl_prefix}php-apcu%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(apcu) = %{version}
Provides: %{?scl_prefix}php-pecl(apcu)%{?_isa} = %{version}
-# For "more" SCL
+%if "%{?scl_prefix}" != "%{?sub_prefix}"
Provides: %{?scl_prefix}php-pecl-apcu = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-apcu%{?_isa} = %{version}-%{release}
+%endif
%if "%{php_version}" < "5.5"
Conflicts: %{?scl_prefix}php-pecl-apc < 4
%else
@@ -343,6 +344,9 @@ fi
%changelog
+* Wed Apr 20 2016 Remi Collet <remi@fedoraproject.org> - 4.0.11-1
+- Update to 4.0.11 (stable)
+
* Mon Mar 7 2016 Remi Collet <remi@fedoraproject.org> - 4.0.10-2
- adapt for F24