[php-horde-Horde-Group] fix FTBFS
Remi Collet
remi at fedoraproject.org
Sun Jun 8 07:17:33 UTC 2014
commit 4e5c9948d27f8a3b02309ed744b763c2c1c92304
Author: Remi Collet <remi at fedoraproject.org>
Date: Sun Jun 8 09:17:21 2014 +0200
fix FTBFS
php-horde-Horde-Group.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/php-horde-Horde-Group.spec b/php-horde-Horde-Group.spec
index 485f1e7..1fe26da 100644
--- a/php-horde-Horde-Group.spec
+++ b/php-horde-Horde-Group.spec
@@ -79,9 +79,10 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
-cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:)
-phpunit\
- -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+src=$(pwd)/%{pear_name}-%{version}
+cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
+phpunit \
+ --include-path=$src/lib \
-d date.timezone=UTC \
.
@@ -106,6 +107,9 @@ fi
%changelog
+* Sun Jun 08 2014 Remi Collet <remi at fedoraproject.org> - 2.0.3-2
+- fix FTBFS (include path for test)
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list