summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-01-23 11:14:08 +0100
committerRemi Collet <fedora@famillecollet.com>2015-01-23 11:14:08 +0100
commit54963b80e3ef63fc1c32fa4e1a4344466e63a1cd (patch)
tree20c0bfe1e25aedeb6e333cc5ff3736282b35a40c
parentc98a6dd36d05c6ceabc7c3b7e19bb1c6478c7909 (diff)
php-pecl-oauth: fix %postun scriplet
-rw-r--r--php-pecl-oauth.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec
index 6d9ba47..17eb252 100644
--- a/php-pecl-oauth.spec
+++ b/php-pecl-oauth.spec
@@ -13,7 +13,7 @@
Name: %{?scl_prefix}php-pecl-oauth
Version: 1.2.3
-Release: 8%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 9%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Summary: PHP OAuth consumer extension
Group: Development/Languages
License: BSD
@@ -147,7 +147,7 @@ fi
%postun
if [ $1 -eq 0 -a -x %{__pecl} ] ; then
- %{pecl_uninstall} %{proj_name} >/dev/null || :
+ %{pecl_uninstall} %{pecl_name} >/dev/null || :
fi
@@ -179,6 +179,9 @@ fi
%changelog
+* Fri Jan 23 2015 Remi Collet <remi@fedoraproject.org> - 1.2.3-9
+- fix %%postun scriplet
+
* Thu Jan 22 2015 Remi Collet <remi@fedoraproject.org> - 1.2.3-8
- bump release
- drop runtime dependency on pear, new scriptlets