summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Log.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Log.spec')
-rw-r--r--php-horde-Horde-Log.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/php-horde-Horde-Log.spec b/php-horde-Horde-Log.spec
index cbce600..a77bf1c 100644
--- a/php-horde-Horde-Log.spec
+++ b/php-horde-Horde-Log.spec
@@ -1,4 +1,3 @@
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Horde_Log
%global pear_channel pear.horde.org
@@ -13,11 +12,12 @@ Summary: Horde Logging library
Group: Development/Libraries
License: BSD
-URL: http://pear.horde.org
-Source0: http://pear.horde.org/get/%{pear_name}-%{version}.tgz
+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})
%if %{with_tests}