summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-04 07:16:53 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-04 07:16:53 +0100
commit472475ec17d9d48d1a0cf3b8dd170d9cbd25ada5 (patch)
treee58f69ce0ed9843a1f2edc38295f5483b64b8134
parent8be91238cfeb4398dd0044e57c44f1a8bbff5f20 (diff)
php-horde-Horde-Url: 2.2.2
-rw-r--r--php-horde-Horde-Url.spec21
1 files 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 <remi@fedoraproject.org> - 2.2.2-1
+- Update to 2.2.2
+
* Tue Aug 27 2013 Remi Collet <remi@fedoraproject.org> - 2.2.1-1
- Update to 2.2.1