[php-pecl-ncurses] update to 1.0.2
Remi Collet
remi at fedoraproject.org
Sun Jun 24 05:23:25 UTC 2012
commit 32f1bc413c2bd11979eac26f7eb92e28ac87e84e
Author: remi <fedora at famillecollet.com>
Date: Sun Jun 24 07:23:17 2012 +0200
update to 1.0.2
.gitignore | 2 ++
php-pecl-ncurses.spec | 26 +++++++++++++++++---------
sources | 2 +-
3 files changed, 20 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 07d66da..4fc3857 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
+*spec~
ncurses-1.0.1.tgz
+/ncurses-1.0.2.tgz
diff --git a/php-pecl-ncurses.spec b/php-pecl-ncurses.spec
index e1f1639..b628203 100644
--- a/php-pecl-ncurses.spec
+++ b/php-pecl-ncurses.spec
@@ -5,8 +5,8 @@
Summary: Terminal screen handling and optimization package
Name: php-pecl-ncurses
-Version: 1.0.1
-Release: 5%{?dist}
+Version: 1.0.2
+Release: 1%{?dist}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/ncurses
@@ -27,10 +27,10 @@ Requires: php(api) = %{php_core_api}
# RPM 4.8
-%{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$}
+%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}
# RPM 4.9
-%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{_libdir}/.*\\.so$
%description
@@ -56,8 +56,9 @@ EOF
%build
cd %{pecl_name}-%{version}
-phpize
-%configure --enable-ncursesw
+%{_bindir}/phpize
+%configure --enable-ncursesw \
+ --with-php-config=%{_bindir}/php-config
make %{?_smp_mflags}
@@ -77,8 +78,12 @@ install -Dpm 644 %{pecl_name}.ini %{buildroot}%{_sysconfdir}/php.d/%{pecl_name}.
%check
cd %{pecl_name}-%{version}
-TEST_PHP_EXECUTABLE=$(which php) php run-tests.php \
- -n -q -d extension_dir=%{buildroot}%{php_extdir} \
+TEST_PHP_EXECUTABLE=%{_bindir}/php \
+REPORT_EXIT_STATUS=1 \
+NO_INTERACTION=1 \
+%{_bindir}/php run-tests.php \
+ -n -q \
+ -d extension_dir=modules \
-d extension=%{pecl_name}.so \
@@ -102,13 +107,16 @@ fi
%files
%defattr(-, root, root, -)
-%doc CHANGELOG %{pecl_name}-%{version}/CREDITS %{pecl_name}-%{version}/example1.php
+%doc CHANGELOG %{pecl_name}-%{version}/{CREDITS,example1.php}
%config(noreplace) %{_sysconfdir}/php.d/%{pecl_name}.ini
%{php_extdir}/%{pecl_name}.so
%{pecl_xmldir}/%{name}.xml
%changelog
+* Sun Jun 24 2012 Remi Collet <remi at fedoraproject.org> - 1.0.2-1
+- update to 1.0.2
+
* Thu Jan 19 2012 Remi Collet <remi at fedoraproject.org> - 1.0.1-5
- build against php 5.4
- fix filters
diff --git a/sources b/sources
index 4640972..05ea018 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a2ec4437449f9b36bf3cba7a59a37654 ncurses-1.0.1.tgz
+a466d1b3e556cda67274ba6c36239c48 ncurses-1.0.2.tgz
More information about the scm-commits
mailing list