summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Prefs.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Prefs.spec')
-rw-r--r--php-horde-Horde-Prefs.spec30
1 files changed, 17 insertions, 13 deletions
diff --git a/php-horde-Horde-Prefs.spec b/php-horde-Horde-Prefs.spec
index 6bfe762..579fa35 100644
--- a/php-horde-Horde-Prefs.spec
+++ b/php-horde-Horde-Prefs.spec
@@ -1,20 +1,20 @@
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Horde_Prefs
%global pear_channel pear.horde.org
Name: php-horde-Horde-Prefs
-Version: 2.2.0
+Version: 2.3.0
Release: 1%{?dist}
Summary: Horde Preferences API
Group: Development/Libraries
-License: LGPLv2+
-URL: http://pear.horde.org
+License: LGPLv2
+URL: http://%{pear_channel}
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
@@ -102,9 +102,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 \
.
@@ -134,19 +135,22 @@ fi
%changelog
-* Tue Jan 29 2013 Remi Collet <RPMS@FamilleCollet.com> - 2.2.0-1
-- Update to 2.2.0 for remi repo
+* Tue Feb 12 2013 Remi Collet <remi@fedoraproject.org> - 2.3.0-1
+- Update to 2.3.0
-* Wed Jan 9 2013 Remi Collet <RPMS@FamilleCollet.com> - 2.1.0-1
-- Update to 2.1.0 for remi repo
+* Tue Jan 29 2013 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
+- Update to 2.2.0
+
+* Wed Jan 9 2013 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
+- Update to 2.1.0
- use local script instead of find_lang
- new test layout (requires Horde_Test 2.1.0)
-* Wed Nov 7 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.1-1
-- Update to 2.0.1 for remi repo
+* Wed Nov 7 2012 Remi Collet <remi@fedoraproject.org> - 2.0.1-1
+- Update to 2.0.1
-* Sat Nov 3 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.0-1
-- Update to 2.0.0 for remi repo
+* Sat Nov 3 2012 Remi Collet <remi@fedoraproject.org> - 2.0.0-1
+- Update to 2.0.0
* Thu Jun 21 2012 Nick Bebout <nb@fedoraproject.org> - 1.1.8-1
- Upgrade to 1.1.8