summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-24 20:59:51 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-24 20:59:51 +0200
commitb23b28396bec7bcf3134c8eba4ad6aca106fec44 (patch)
treea0eb583e2d8c987fbe2a19a06d89375aec61898f
parent5ebba86f1f83ed5e57dbec856dc669a11bef1fe1 (diff)
improve SCL stuff
-rw-r--r--php-pecl-apcu.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec
index 2701eb0..44f0f71 100644
--- a/php-pecl-apcu.spec
+++ b/php-pecl-apcu.spec
@@ -23,7 +23,7 @@
Name: %{?scl_prefix}php-pecl-apcu
Summary: APC User Cache
Version: 4.0.6
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
Source1: %{pecl_name}.ini
Source2: %{pecl_name}-panel.conf
@@ -61,18 +61,19 @@ Provides: %{?scl_prefix}php-pecl-apc%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(APC) = %{version}
Provides: %{?scl_prefix}php-pecl(APC)%{?_isa} = %{version}
-%if 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
# Other third party repo stuff
-%if "%{php_version}" > "5.4"
Obsoletes: php53-pecl-%{pecl_name}
Obsoletes: php53u-pecl-%{pecl_name}
Obsoletes: php54-pecl-%{pecl_name}
-%endif
+Obsoletes: php54w-pecl-%{pecl_name}
%if "%{php_version}" > "5.5"
Obsoletes: php55u-pecl-%{pecl_name}
+Obsoletes: php55w-pecl-%{pecl_name}
%endif
%if "%{php_version}" > "5.6"
Obsoletes: php56u-pecl-%{pecl_name}
+Obsoletes: php56w-pecl-%{pecl_name}
%endif
%endif
@@ -299,6 +300,9 @@ fi
%changelog
+* Sun Aug 24 2014 Remi Collet <remi@fedoraproject.org> - 4.0.6-2
+- improve SCL stuff
+
* Thu Jun 12 2014 Remi Collet <remi@fedoraproject.org> - 4.0.6-1
- Update to 4.0.6 (beta)