diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-02-12 09:37:29 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-02-12 09:37:29 +0100 |
commit | 397de1433729c07d6087cc41f2a737ff19307b71 (patch) | |
tree | 08c589846ca6c61c67fd10f8727da5aaf2c162bb | |
parent | 44b1c7a7c32f9629a4ce80bcbb08afeaec682971 (diff) |
horde packages cleanups
-rw-r--r-- | php-horde-Horde-Util.spec | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/php-horde-Horde-Util.spec b/php-horde-Horde-Util.spec index 308d558..0e523d8 100644 --- a/php-horde-Horde-Util.spec +++ b/php-horde-Horde-Util.spec @@ -12,7 +12,7 @@ Summary: Horde Utility Libraries Group: Development/Libraries License: LGPLv2 -URL: http://pear.horde.org +URL: http://%{pear_channel} Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root @@ -37,12 +37,13 @@ Requires: php-mbstring Requires: php-pcre Requires: php-session Requires: php-spl -BuildRequires: php-pear(PEAR) >= 1.7.0 +Requires: php-pear(PEAR) >= 1.7.0 Requires: php-channel(%{pear_channel}) # Optionnal: Horde_Imap_Client not required to reduce build tree Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} + %description These classes provide functionality useful for all kind of applications. @@ -90,7 +91,7 @@ phpunit \ %postun if [ $1 -eq 0 ] ; then %{__pear} uninstall --nodeps --ignore-errors --register-only \ - pear.horde.org/%{pear_name} >/dev/null || : + %{pear_channel}/%{pear_name} >/dev/null || : fi @@ -104,7 +105,7 @@ fi %{pear_phpdir}/Horde/String.php %{pear_phpdir}/Horde/Util.php %{pear_phpdir}/Horde/Variables.php -%{pear_testdir}/Horde_Util +%{pear_testdir}/%{pear_name} %changelog |