summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-18 18:42:39 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-18 18:42:39 +0100
commit49b189b25581ae5bed9b8058afc4e2010208b4aa (patch)
treede2bcbed63dc4e9c2921a2a29e28eed50bcb7067
parent45307aee2552c84756dd32b726db6f4e14779ddb (diff)
PHP 5.5: new snapshot (~alpha2) + rebuild of extensions for new ABI
-rw-r--r--php-pecl-ncurses.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/php-pecl-ncurses.spec b/php-pecl-ncurses.spec
index b5c1fd6..3ac9073 100644
--- a/php-pecl-ncurses.spec
+++ b/php-pecl-ncurses.spec
@@ -5,7 +5,7 @@
Summary: Terminal screen handling and optimization package
Name: php-pecl-ncurses
Version: 1.0.2
-Release: 1%{?dist}.3
+Release: 1%{?dist}.4
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/ncurses
@@ -14,7 +14,10 @@ Source: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
Source2: xml2changelog
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: php-devel, ncurses-devel, php-pear
+BuildRequires: php-devel
+BuildRequires: php-simplexml
+BuildRequires: ncurses-devel
+BuildRequires: php-pear
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
@@ -27,6 +30,15 @@ Provides: php-ncurses%{?_isa} = 5.3.0
Provides: php-pecl(%{pecl_name}) = %{version}-%{release}
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
+# Other third party repo stuff
+Obsoletes: php53-pecl-%{pecl_name}
+Obsoletes: php53u-pecl-%{pecl_name}
+%if "%{php_version}" > "5.4"
+Obsoletes: php54-pecl-%{pecl_name}
+%endif
+%if "%{php_version}" > "5.5"
+Obsoletes: php55-pecl-%{pecl_name}
+%endif
# Filter private shared
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}