summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Kolab-Storage.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Kolab-Storage.spec')
-rw-r--r--php-horde-Horde-Kolab-Storage.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-horde-Horde-Kolab-Storage.spec b/php-horde-Horde-Kolab-Storage.spec
index bde5ac8..07cac7f 100644
--- a/php-horde-Horde-Kolab-Storage.spec
+++ b/php-horde-Horde-Kolab-Storage.spec
@@ -12,7 +12,7 @@
Name: php-horde-Horde-Kolab-Storage
Version: 2.1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A package for handling Kolab data stored on an IMAP server
Group: Development/Libraries
@@ -20,6 +20,8 @@ License: LGPLv2
URL: http://%{pear_channel}
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
+Patch0: %{pear_name}-upstream.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
@@ -77,11 +79,14 @@ to deal with this type of data storage effectively.
%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 '/Horde_Other.po/d' \
-e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \
+ -e '/test/s/md5sum=.*name=/name=/' \
../package.xml >%{name}.xml
touch -r ../package.xml %{name}.xml
@@ -163,6 +168,9 @@ fi
%changelog
+* Tue Nov 25 2014 Remi Collet <remi@fedoraproject.org> - 2.1.1-2
+- add suptream patch for test (thanks Koschei)
+
* Sat Aug 30 2014 Remi Collet <remi@fedoraproject.org> - 2.1.1-1
- Update to 2.1.1