diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-03-26 13:38:48 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-03-26 13:38:48 +0100 |
commit | 0a04428443d745973c950f4db20cdc9c74e1e362 (patch) | |
tree | 3f2a1a37dfabbf887a523c577c8360d79e1df26f | |
parent | 9bff41ce1e3f4b681251f8e976e42614b8893a35 (diff) |
php-horde-Horde-Data: cleanups
-rw-r--r-- | php-horde-Horde-Data.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/php-horde-Horde-Data.spec b/php-horde-Horde-Data.spec index dfcea01..8d59c37 100644 --- a/php-horde-Horde-Data.spec +++ b/php-horde-Horde-Data.spec @@ -9,12 +9,13 @@ Release: 1%{?dist} Summary: Horde Data API 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-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: php(language) >= 5.3.0 BuildRequires: php-pear(PEAR) >= 1.7.0 BuildRequires: php-channel(%{pear_channel}) BuildRequires: gettext @@ -96,9 +97,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 \ . |