summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-25 16:25:54 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-25 16:25:54 +0200
commitcaf9b8ab8fdfaf96bf236947091a49488ace67a2 (patch)
treecc889b12754e1a6573ce94cdbfdca1e2adebb059
parent717c71a492d6addc7e940c59da7ad2f19ba0e3de (diff)
php-pecl-* improve SCL build for 5.6 (wip)
-rw-r--r--php-pecl-runkit.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-pecl-runkit.spec b/php-pecl-runkit.spec
index c50688e..e4bcd73 100644
--- a/php-pecl-runkit.spec
+++ b/php-pecl-runkit.spec
@@ -29,7 +29,7 @@ Summary(ru): Манипулирование пользовательски
Summary(pl): Obróbka zdefiniowanych przez użytkownika funkcji i klas
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.0.4
-Release: 0.7%{?gh_short:.git%{gh_short}}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 0.8%{?gh_short:.git%{gh_short}}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Libraries
# URL: http://pecl.php.net/package/runkit/
@@ -56,16 +56,19 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if "%{?vendor}" == "Remi Collet"
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
# Other third party repo stuff
Obsoletes: php53-pecl-%{pecl_name}
Obsoletes: php53u-pecl-%{pecl_name}
Obsoletes: php54-pecl-%{pecl_name}
+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
@@ -219,6 +222,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Aug 25 2014 Remi Collet <rcollet@redhat.com> - 1.0.4-0.8.git5e179e9
+- improve SCL build
+
* Wed Apr 16 2014 Remi Collet <remi@fedoraproject.org> - 1.0.4-0.7.git5e179e9
- add numerical prefix to extension configuration file (php 5.6)