From 472475ec17d9d48d1a0cf3b8dd170d9cbd25ada5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Mar 2014 07:16:53 +0100 Subject: php-horde-Horde-Url: 2.2.2 --- php-horde-Horde-Url.spec | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/php-horde-Horde-Url.spec b/php-horde-Horde-Url.spec index 125699b..46aa9d9 100644 --- a/php-horde-Horde-Url.spec +++ b/php-horde-Horde-Url.spec @@ -1,4 +1,13 @@ -%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} +# spec file for php-horde-Horde-Url +# +# 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_Url %global pear_channel pear.horde.org @@ -6,7 +15,7 @@ %global with_tests %{?_with_tests:1}%{!?_with_tests:0} Name: php-horde-Horde-Url -Version: 2.2.1 +Version: 2.2.2 Release: 1%{?dist} Summary: Horde Url class @@ -66,9 +75,10 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check %if %{with_tests} +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 \ + -d include_path=$src/lib:.:%{pear_phpdir} \ -d date.timezone=UTC \ . %else @@ -96,6 +106,9 @@ fi %changelog +* Tue Mar 04 2014 Remi Collet - 2.2.2-1 +- Update to 2.2.2 + * Tue Aug 27 2013 Remi Collet - 2.2.1-1 - Update to 2.2.1 -- cgit