[php-phpunit-PHPUnit-Selenium] cleanup pear registry
Remi Collet
remi at fedoraproject.org
Wed Apr 30 10:22:49 UTC 2014
commit aa67468ee59c9a32f4b541c684fe9828aa5fe678
Author: Remi Collet <remi at fedoraproject.org>
Date: Wed Apr 30 12:23:02 2014 +0200
cleanup pear registry
php-phpunit-PHPUnit-Selenium.spec | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/php-phpunit-PHPUnit-Selenium.spec b/php-phpunit-PHPUnit-Selenium.spec
index 4d6d1e7..46c4aef 100644
--- a/php-phpunit-PHPUnit-Selenium.spec
+++ b/php-phpunit-PHPUnit-Selenium.spec
@@ -17,7 +17,7 @@
Name: php-phpunit-PHPUnit-Selenium
Version: 1.3.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Selenium RC integration for PHPUnit
Group: Development/Libraries
@@ -67,7 +67,7 @@ rm PHPUnit/Extensions/SeleniumCommon/Autoload.php.in
# Also remember to fix the command to use it.
#phpab \
-# --output PHPUnit/Extensions/SeleniumCommon/Autoload.php2 \
+# --output PHPUnit/Extensions/SeleniumCommon/Autoload.php \
# --template PHPUnit/Extensions/SeleniumCommon/Autoload.php.in \
# PHPUnit
@@ -77,12 +77,22 @@ mkdir -p %{buildroot}%{php_home}
cp -pr PHPUnit %{buildroot}%{php_home}/PHPUnit
+%post
+if [ -x %{_bindir}/pear ]; then
+ %{_bindir}/pear uninstall --nodeps --ignore-errors --register-only \
+ %{pear_channel}/%{pear_name} >/dev/null || :
+fi
+
+
%files
%doc ChangeLog.markdown LICENSE README.md
%{php_home}/PHPUnit/Extensions/Selenium*
%changelog
+* Wed Apr 30 2014 Remi Collet <remi at fedoraproject.org> - 1.3.3-3
+- cleanup pear registry
+
* Tue Apr 29 2014 Remi Collet <remi at fedoraproject.org> - 1.3.3-2
- sources from github
More information about the scm-commits
mailing list