summaryrefslogtreecommitdiff
path: root/pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec')
-rw-r--r--pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec b/pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
index 5734c14..32cf9ef 100644
--- a/pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
+++ b/pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
@@ -44,11 +44,13 @@ env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off"
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off" \
%{l_prefix}/bin/pear -d php_dir=%{l_prefix}/lib/php channel-update %{pear_xmldir}/pear.phpunit.de.xml || \
echo "Could not update channel pear.phpunit.de!" && sleep 1
+ rm -rf %{l_prefix}/RPM/TMP/pear
%postun
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off" \
%{l_prefix}/bin/pear -d php_dir=%{l_prefix}/lib/php channel-delete pear.phpunit.de || \
echo "Could not delete channel pear.phpunit.de!" && sleep 1
+ rm -rf %{l_prefix}/RPM/TMP/pear
%files -f files