From 1a4523fc88309ab1c60735a841650fcec9459c75 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 25 Nov 2014 08:20:35 +0100 Subject: php-horde-Horde-Icalendar: add upstream patch for recent Horde_Mime --- php-horde-Horde-Icalendar.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'php-horde-Horde-Icalendar.spec') diff --git a/php-horde-Horde-Icalendar.spec b/php-horde-Horde-Icalendar.spec index 695198c..487cced 100644 --- a/php-horde-Horde-Icalendar.spec +++ b/php-horde-Horde-Icalendar.spec @@ -13,7 +13,7 @@ Name: php-horde-Horde-Icalendar Version: 2.0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: iCalendar API Group: Development/Libraries @@ -21,6 +21,8 @@ License: LGPLv2 URL: http://pear.horde.org Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz +Patch0: %{pear_name}-upstream.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: php(language) >= 5.3.0 @@ -45,8 +47,6 @@ Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 Requires: php-pear(%{pear_channel}/Horde_Exception) < 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Mail) >= 2.0.0 Requires: php-pear(%{pear_channel}/Horde_Mail) < 3.0.0 -Requires: php-pear(%{pear_channel}/Horde_Mime) >= 2.0.0 -Requires: php-pear(%{pear_channel}/Horde_Mime) < 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Support) >= 2.0.0 Requires: php-pear(%{pear_channel}/Horde_Support) < 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Translation) >= 2.0.0 @@ -65,10 +65,13 @@ An API for dealing with iCalendar data. %setup -q -c cd %{pear_name}-%{version} +%patch0 -p3 -b .upstream + # Don't install .po and .pot files # Remove checksum for .mo, as we regenerate them sed -e '/%{pear_name}.po/d' \ -e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \ + -e 's/md5sum=.*name=/name=/' \ ../package.xml >%{name}.xml @@ -131,6 +134,10 @@ fi %changelog +* Tue Nov 25 2014 Remi Collet - 2.0.9-2 +- add upstream patch (thanks Koschei) +- drop dependency on Horde_Mime + * Wed Jun 04 2014 Remi Collet - 2.0.9-1 - Update to 2.0.9 -- cgit