diff options
Diffstat (limited to 'php-horde-Horde-Support.spec')
-rw-r--r-- | php-horde-Horde-Support.spec | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/php-horde-Horde-Support.spec b/php-horde-Horde-Support.spec index 8275650..01d88b1 100644 --- a/php-horde-Horde-Support.spec +++ b/php-horde-Horde-Support.spec @@ -8,7 +8,7 @@ Name: php-horde-Horde-Support Version: 2.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Horde support package Group: Development/Libraries @@ -16,6 +16,8 @@ License: BSD URL: http://pear.horde.org Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz +Patch0: %{name}-uuid.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: php-pear(PEAR) >= 1.7.0 @@ -36,9 +38,6 @@ 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 -# designed to work with php-pecl-uuid, not uuid-php -Requires: php-pecl(uuid) -Conflicts: uuid-php Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} @@ -46,13 +45,19 @@ 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. +Optional dependencies: +- uuid-php or php-pecl-uuid + %prep %setup -q -c -T tar xif %{SOURCE0} cd %{pear_name}-%{version} -mv ../package.xml %{name}.xml +%patch0 -p1 -b .uuid + +sed -e '/Uuid.php/s/md5sum=.*name/name/' \ + ../package.xml >%{name}.xml %build @@ -101,6 +106,9 @@ fi %changelog +* Tue Nov 6 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.0-3 +- add patch to allow uuid-php or php-pecl-uuid + * Sun Nov 4 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.0-2 - conflicts with uuid-php - add optionnal %%check |