summaryrefslogtreecommitdiffstats
path: root/php-pecl-ncurses.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-24 07:35:46 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-24 07:35:46 +0200
commit59b29bacf21f98bbd1bde4d386eeb9fed102ed52 (patch)
tree790c55f7fc9f0f76fe9b07af5d94443658151e69 /php-pecl-ncurses.spec
parent63800e11602e41482323f1112a77a3532c854012 (diff)
php-pecl-ncurses: update to 1.0.2
Diffstat (limited to 'php-pecl-ncurses.spec')
-rw-r--r--php-pecl-ncurses.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-pecl-ncurses.spec b/php-pecl-ncurses.spec
index fc88fc3..8d3282d 100644
--- a/php-pecl-ncurses.spec
+++ b/php-pecl-ncurses.spec
@@ -4,8 +4,8 @@
Summary: Terminal screen handling and optimization package
Name: php-pecl-ncurses
-Version: 1.0.1
-Release: 4%{?dist}
+Version: 1.0.2
+Release: 1%{?dist}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/ncurses
@@ -24,6 +24,7 @@ Provides: php-pecl(%{pecl_name}) = %{version}-%{release}
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
+
# RPM 4.8
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}
@@ -44,7 +45,7 @@ line.
%prep
%setup -c -q
-%{__php} -n %{SOURCE2} package.xml >CHANGELOG
+%{_bindir}/php -n %{SOURCE2} package.xml >CHANGELOG
cat >%{pecl_name}.ini << 'EOF'
; Enable %{pecl_name} extension module
@@ -81,8 +82,8 @@ make -C %{pecl_name}-%{version}-zts \
install -Dpm 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
# install config file
-install -Dpm644 %{pecl_name}.ini %{buildroot}%{php_inidir}/%{pecl_name}.ini
-install -Dpm644 %{pecl_name}.ini %{buildroot}%{php_ztsinidir}/%{pecl_name}.ini
+install -Dpm 644 %{pecl_name}.ini %{buildroot}%{php_inidir}/%{pecl_name}.ini
+install -Dpm 644 %{pecl_name}.ini %{buildroot}%{php_ztsinidir}/%{pecl_name}.ini
%check
@@ -132,6 +133,9 @@ fi
%changelog
+* Sun Jun 24 2012 Remi Collet <remi@fedoraproject.org> - 1.0.2-1
+- update to 1.0.2
+
* Sun Nov 13 2011 Remi Collet <remi@fedoraproject.org> - 1.0.1-4
- build against php 5.4