summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Translation.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-02-11 18:20:59 +0100
committerRemi Collet <fedora@famillecollet.com>2014-02-11 18:20:59 +0100
commit11afd621354361f648204bbe585aa1a3bdacf18e (patch)
tree1ce6eff5115acedccc0a3b38efb28cb15e7c4a48 /php-horde-Horde-Translation.spec
parent641c17d9e9d12142c4d234c61407703c3de7453a (diff)
horde: small cleanups
Diffstat (limited to 'php-horde-Horde-Translation.spec')
-rw-r--r--php-horde-Horde-Translation.spec10
1 files changed, 3 insertions, 7 deletions
diff --git a/php-horde-Horde-Translation.spec b/php-horde-Horde-Translation.spec
index cbe280a..89cce8d 100644
--- a/php-horde-Horde-Translation.spec
+++ b/php-horde-Horde-Translation.spec
@@ -24,12 +24,10 @@ License: LGPLv2+
URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
-# See https://github.com/horde/horde/pull/27
-Patch0: %{pear_name}-except.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: gettext
+BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
%if %{with_tests}
@@ -39,7 +37,7 @@ BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
-BuildRequires: php-pear(PEAR) >= 1.7.0
+Requires: php-pear(PEAR) >= 1.7.0
Requires: php-channel(%{pear_channel})
Requires: php(language) >= 5.3.0
Requires: php-gettext
@@ -52,14 +50,12 @@ Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
Translation wrappers.
%prep
-%setup -q -c -T
-tar xif %{SOURCE0}
+%setup -q -c
cd %{pear_name}-%{version}
# Don't install .po and .pot files
# Remove checksum for .mo, as we regenerate them
-# Remove checksum for patched files
sed -e '/%{pear_name}.po/d' \
-e '/Horde_Other.po/d' \
-e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \