summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-26 13:24:37 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-26 13:24:37 +0100
commit7be87c604ae4be6c2c489a97b03133738f9e2564 (patch)
tree17015187d1b551fcd4ab9cd0ec05e2695fca9433
parent0e01cfd4e873e2f6fb364950564b53290d21cd12 (diff)
php-horde-Horde-Perms: cleanups
-rw-r--r--php-horde-Horde-Perms.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-horde-Horde-Perms.spec b/php-horde-Horde-Perms.spec
index 44f2531..2d168b6 100644
--- a/php-horde-Horde-Perms.spec
+++ b/php-horde-Horde-Perms.spec
@@ -9,12 +9,13 @@ Release: 1%{?dist}
Summary: Horde Permissions System
Group: Development/Libraries
-License: LGPLv2+
+License: LGPLv2
URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
+BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
BuildRequires: gettext
@@ -91,9 +92,10 @@ done | tee ../%{pear_name}.lang
%check
+src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
phpunit \
- -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ -d include_path=$src/lib:.:%{pear_phpdir} \
-d date.timezone=UTC \
.