From 24829181755fb8c459ab68b43a747f6a19173079 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Mar 2013 11:33:06 +0100 Subject: horde: cleanups from rawhide --- php-horde-Horde-Text-Diff.spec | 8 +++----- 1 file 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 -- cgit