From 1bac5702a7562948b69d2c7e247116c7b83c80ad Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 23 Jan 2015 09:21:15 +0100 Subject: php-pecl-xdebug: fix %postun scriplet --- php-pecl-xdebug.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'php-pecl-xdebug.spec') 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 - 2.2.7-2 +- fix %%postun scriplet + * Thu Jan 22 2015 Remi Collet - 2.2.7-1 - Update to 2.2.7 - drop runtime dependency on pear, new scriptlets -- cgit