summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Text-Diff.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Text-Diff.spec')
-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