From e8988ac0499a5fdf4d330680e797fe3f4bd09414eed6890dcf7191624216979a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com>
Date: Thu, 21 Jan 2016 14:01:12 +0000
Subject: [PATCH] - Fix a bug on es provides with en-GB

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=359
---
 libreoffice.changes |  5 +++++
 libreoffice.spec    | 10 ++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/libreoffice.changes b/libreoffice.changes
index 9bcc868..196a862 100644
--- a/libreoffice.changes
+++ b/libreoffice.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Jan 21 13:59:37 UTC 2016 - tchvatal@suse.com
+
+- Fix a bug on es provides with en-GB
+
 -------------------------------------------------------------------
 Sun Jan 17 08:04:26 UTC 2016 - tchvatal@suse.com
 
diff --git a/libreoffice.spec b/libreoffice.spec
index c090ccf..d912429 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -847,6 +847,7 @@ fi \
 # Mm:  myspell dependency
 # n:   language name, e.g., Czech
 # p:   Provides: of libreoffice-l10n
+# q:   Provides: of libreoffice-l10n if one provide is not enough
 # r:   comma-separated list of additional requires
 # S:s: script classification (cjk, ctl). -S is only a marker, as it does
 #      not add any .xcd into the package (the file does not exist for at
@@ -876,7 +877,8 @@ BuildArch:      noarch \
 %endif \
 %{-m:Requires: myspell-%{-m*}}%{!-m:%{-M:Requires: myspell-%{lang}}} \
 %{-r:Requires: %{-r*}} \
-%{-p:Provides: %{name}-l10n-%{-p*}} \
+%{-p:Provides: %{name}-l10n-%{-p*} = %{version}} \
+%{-q:Provides: %{name}-l10n-%{-q*} = %{version}} \
 %{-T: \
 Provides:       %{name}-help-%{lang} = %{version} \
 Obsoletes:      %{name}-help-%{lang} < %{version} \
@@ -888,6 +890,10 @@ Obsoletes:      %{name}-help-%{-L*} < %{version} \
 Provides:       %{name}-help-%{-p*} = %{version} \
 Obsoletes:      %{name}-help-%{-p*} < %{version} \
 } \
+%{-q: \
+Provides:       %{name}-help-%{-q*} = %{version} \
+Obsoletes:      %{name}-help-%{-q*} < %{version} \
+} \
 } \
 \
 %description %{pkgname} \
@@ -925,7 +931,7 @@ Provides additional %{langname} translations and resources for %{project}. \
 %langpack -l de -n German -T -X -M
 %langpack -l dz -n Dzongkha -s ctl -T
 %langpack -l el -n Greek  -T -m el_GR
-%langpack -l en -n English -L en-US -T -X -p en-GB -p en-ZA -M
+%langpack -l en -n English -L en-US -T -X -p en-GB -q en-ZA -M
 %langpack -l es -n Spanish -M -T -X
 %langpack -l et -n Estonian -T -m et_EE
 %langpack -l eu -n Basque -T