diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-06-08 09:49:19 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-06-08 09:49:19 +0200 |
commit | 1bf4e5a0e3dfcdba35ebb4616f9e2fc45688ed6f (patch) | |
tree | abc8cce474bbfeef808affa0aaef4b4262584286 | |
parent | 5e0412288f790996bc4c90c3eb32ed71cd6ae46b (diff) |
horde: fix FTBFS (include path) + cleanups
-rw-r--r-- | php-horde-Horde-Template.spec | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/php-horde-Horde-Template.spec b/php-horde-Horde-Template.spec index 61cc82b..de505ca 100644 --- a/php-horde-Horde-Template.spec +++ b/php-horde-Horde-Template.spec @@ -1,5 +1,13 @@ -%{!?pear_metadir: %global pear_metadir %{pear_phpdir}} -%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} +# spec file for php-horde-Horde-Template +# +# Copyright (c) 2012-2014 Nick Bebout, Remi Collet +# +# License: MIT +# https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense +# +# Please, preserve the changelog entries +# +%{!?__pear: %global __pear %{_bindir}/pear} %global pear_name Horde_Template %global pear_channel pear.horde.org @@ -59,9 +67,10 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %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} \ +phpunit \ + --include-path=$src/lib \ -d date.timezone=UTC \ . |