diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-11-05 18:10:45 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-11-05 18:10:45 +0100 |
commit | 495e7aa4aee518563c0ea42a463f4fe0b1c1faf9 (patch) | |
tree | 19d261470e6ed82f7e06d92dbe0a0e3cd2665db0 | |
parent | 50ecbe0a8b8e37a56c3bf6b2442f694d59651129 (diff) |
php-horde-Horde-Support: cleanups
-rw-r--r-- | php-horde-Horde-Support.spec | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/php-horde-Horde-Support.spec b/php-horde-Horde-Support.spec index f5dca24..ea2f215 100644 --- a/php-horde-Horde-Support.spec +++ b/php-horde-Horde-Support.spec @@ -14,7 +14,7 @@ Summary: Horde support package Group: Development/Libraries License: BSD URL: http://pear.horde.org -Source0: http://pear.horde.org/get/%{pear_name}-%{version}.tgz +Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch @@ -27,13 +27,15 @@ BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0 Requires(post): %{__pear} Requires(postun): %{__pear} +Requires: php(language) >= 5.3.0 +Requires: php-channel(%{pear_channel}) +Requires: php-date +Requires: php-pcre +Requires: php-spl Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 Conflicts: php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Stream_Wrapper) >= 2.0.0 Conflicts: php-pear(%{pear_channel}/Horde_Stream_Wrapper) >= 3.0.0 -Requires: php(language) >= 5.3.0 -Requires: php-channel(%{pear_channel}) -Requires: php-date php-pcre php-spl # designed to work with php-pecl-uuid, not uuid-php Conflicts: uuid-php @@ -43,6 +45,7 @@ Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} Support classes not tied to Horde but is used by it. These classes can be used outside of Horde as well. + %prep %setup -q -c -T tar xif %{SOURCE0} @@ -55,6 +58,7 @@ mv ../package.xml %{name}.xml cd %{pear_name}-%{version} # Empty build section, most likely nothing required. + %install cd %{pear_name}-%{version} %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml |