summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Icalendar.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-11-25 08:20:35 +0100
committerRemi Collet <fedora@famillecollet.com>2014-11-25 08:20:35 +0100
commit1a4523fc88309ab1c60735a841650fcec9459c75 (patch)
treecafe7742abc9bb09f7fba05e6ff2234d8153f328 /php-horde-Horde-Icalendar.spec
parent7ac03df498a8802474ce104abe318369a0f222ad (diff)
php-horde-Horde-Icalendar: add upstream patch for recent Horde_Mime
Diffstat (limited to 'php-horde-Horde-Icalendar.spec')
-rw-r--r--php-horde-Horde-Icalendar.spec13
1 files changed, 10 insertions, 3 deletions
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 <remi@fedoraproject.org> - 2.0.9-2
+- add upstream patch (thanks Koschei)
+- drop dependency on Horde_Mime
+
* Wed Jun 04 2014 Remi Collet <remi@fedoraproject.org> - 2.0.9-1
- Update to 2.0.9