summaryrefslogtreecommitdiff
path: root/pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2008-12-15 05:19:02 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2008-12-15 05:19:02 (GMT)
commitdf65617219bb6cd3c288263304119d80dcbebaf8 (patch)
treeeb26a46ab1511324329ca6cf69d04b058463844a /pear/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
parent303fd67ee508be526fdb957837155f3b6f235b61 (diff)
downloadserver-df65617219bb6cd3c288263304119d80dcbebaf8.tar.gz
kolab/issue2441 (/kolab/RPM/TMP/pear/temp created owned by root)
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