summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Icalendar.spec
diff options
context:
space:
mode:
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