summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-07 11:33:06 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-07 11:33:06 +0100
commit48db0c43100e72279b67856e819207ec2889459c (patch)
tree3a168f57e71f7790baa73621dfb601bba0ee0a63
parent1b1df63a76955ffc2d2ffbc223d872af44b94aad (diff)
horde: cleanups from rawhide
-rw-r--r--php-horde-Horde-Http.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/php-horde-Horde-Http.spec b/php-horde-Horde-Http.spec
index 0278e46..b2b4f1b 100644
--- a/php-horde-Horde-Http.spec
+++ b/php-horde-Horde-Http.spec
@@ -1,4 +1,3 @@
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Horde_Http
%global pear_channel pear.horde.org
@@ -13,7 +12,7 @@ Summary: Horde HTTP libraries
Group: Development/Libraries
License: BSD
-URL: http://pear.horde.org
+URL: http://%{pear_channel}
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -30,7 +29,7 @@ Requires(postun): %{__pear}
Requires: php(language) >= 5.3.0
Requires: php-pcre
-BuildRequires: php-pear(PEAR) >= 1.7.0
+Requires: php-pear(PEAR) >= 1.7.0
Requires: php-channel(%{pear_channel})
Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
Conflicts: php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0
@@ -48,8 +47,7 @@ This package provides a set of classes for making HTTP requests.
%prep
-%setup -q -c -T
-tar xif %{SOURCE0}
+%setup -q -c
cd %{pear_name}-%{version}
mv ../package.xml %{name}.xml
@@ -101,7 +99,7 @@ fi
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Horde/Http
%{pear_phpdir}/Horde/Http.php
-%{pear_testdir}/Horde_Http
+%{pear_testdir}/%{pear_name}
%changelog