summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Service-Weather.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-08-30 20:02:12 +0200
committerRemi Collet <fedora@famillecollet.com>2015-08-30 20:02:12 +0200
commita75d6c3edba62ab4ed7fb41acb4e91ed4039a28d (patch)
tree4d2788f6ed2e07da64aa349f4614e6c2a1d9a1aa /php-horde-Horde-Service-Weather.spec
parent7b37719d349a16e6af2261609e9eb95df66de421 (diff)
php-horde-Horde-Service-Weather: 2.2.0
Diffstat (limited to 'php-horde-Horde-Service-Weather.spec')
-rw-r--r--php-horde-Horde-Service-Weather.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-horde-Horde-Service-Weather.spec b/php-horde-Horde-Service-Weather.spec
index 995315c..b86b5c0 100644
--- a/php-horde-Horde-Service-Weather.spec
+++ b/php-horde-Horde-Service-Weather.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Service-Weather
-Version: 2.1.6
+Version: 2.2.0
Release: 1%{?dist}
Summary: Horde Weather Provider
@@ -20,6 +20,8 @@ License: BSD
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
@@ -71,12 +73,14 @@ WorldWeatherOnline, and Google Weather.
%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 '/%{pear_name}.mo/s/md5sum="[^"]*"//' \
+ -e '/Wwov2Test.php/s/md5sum="[^"]*"//' \
../package.xml >%{name}.xml
touch -r ../package.xml %{name}.xml
@@ -146,6 +150,9 @@ fi
%changelog
+* Sun Aug 30 2015 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
+- Update to 2.2.0
+
* Wed Mar 04 2015 Remi Collet <remi@fedoraproject.org> - 2.1.6-1
- Update to 2.1.6