summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-01-23 09:21:15 +0100
committerRemi Collet <fedora@famillecollet.com>2015-01-23 09:21:15 +0100
commit1bac5702a7562948b69d2c7e247116c7b83c80ad (patch)
tree6cae5628824ab3f351dca9bc6cde5639f5addbf5
parent2f59031014ec4bcd7fb31eedd7fb0d46028aedf1 (diff)
php-pecl-xdebug: fix %postun scriplet
-rw-r--r--php-pecl-xdebug.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec
index 44816ab..43112d0 100644
--- a/php-pecl-xdebug.spec
+++ b/php-pecl-xdebug.spec
@@ -30,7 +30,7 @@
Name: %{?scl_prefix}php-pecl-xdebug
Summary: PECL package for debugging PHP scripts
Version: 2.2.7
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
%if 0%{?gitver:1}
Source0: https://github.com/%{pecl_name}/%{pecl_name}/archive/%{commit}/%{pecl_name}-%{version}-%{gitver}.tar.gz
%else
@@ -236,7 +236,7 @@ fi
%postun
if [ $1 -eq 0 -a -x %{__pecl} ] ; then
- %{pecl_uninstall} %{proj_name} >/dev/null || :
+ %{pecl_uninstall} %{pecl_name} >/dev/null || :
fi
@@ -261,6 +261,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Jan 23 2015 Remi Collet <remi@fedoraproject.org> - 2.2.7-2
+- fix %%postun scriplet
+
* Thu Jan 22 2015 Remi Collet <remi@fedoraproject.org> - 2.2.7-1
- Update to 2.2.7
- drop runtime dependency on pear, new scriptlets