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
commit24829181755fb8c459ab68b43a747f6a19173079 (patch)
treeacb53a9af3097088a3f11945bba29cbb356459e1
parent2c7ee20bc3cb8be0bca5f691534adde401eca516 (diff)
horde: cleanups from rawhide
-rw-r--r--php-horde-Horde-Text-Diff.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/php-horde-Horde-Text-Diff.spec b/php-horde-Horde-Text-Diff.spec
index d5f10b8..59d10af 100644
--- a/php-horde-Horde-Text-Diff.spec
+++ b/php-horde-Horde-Text-Diff.spec
@@ -1,4 +1,3 @@
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Horde_Text_Diff
%global pear_channel pear.horde.org
@@ -15,7 +14,7 @@ Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
-BuildRequires: php-common >= 5.3.0
+BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
# To run unit tests
@@ -23,7 +22,7 @@ BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
-Requires: php-common >= 5.3.0
+Requires: php(language) >= 5.3.0
Requires: php-pcre
Requires: php-pear(PEAR) >= 1.7.0
Requires: php-channel(%{pear_channel})
@@ -41,8 +40,7 @@ This package provides a text-based diff engine and renderers for multiple
diff output formats.
%prep
-%setup -q -c -T
-tar xif %{SOURCE0}
+%setup -q -c
cd %{pear_name}-%{version}
cp ../package.xml %{name}.xml