summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Timezone.spec17
1 files changed, 5 insertions, 12 deletions
diff --git a/php-horde-Horde-Timezone.spec b/php-horde-Horde-Timezone.spec
index 8126e9a..4f0d5e2 100644
--- a/php-horde-Horde-Timezone.spec
+++ b/php-horde-Horde-Timezone.spec
@@ -8,7 +8,8 @@ Release: 1%{?dist}
Summary: Timezone library
Group: Development/Libraries
-License: LGPLv2+
+# http://bugs.horde.org/ticket/11967 missing COPYING file
+License: LGPLv2
URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
@@ -17,8 +18,8 @@ BuildArch: noarch
BuildRequires: php-common >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
-# To run unit tests
-BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
+# To run unit tests (not ready for 2.1.0 layout, ok in git, wait for 1.0.2)
+# BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -65,14 +66,6 @@ mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-%check
-cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-# TODO not ready phpunit\
-# -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
-# -d date.timezone=UTC \
-# .
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -93,5 +86,5 @@ fi
%changelog
-* Thu Nov 22 2012 Remi Collet <RPMS@FamilleCollet.com> - 1.0.1-1
+* Thu Nov 22 2012 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
- Initial package