From 4bd77c6993e58c549baccd7b30b9048c3177f2a76e36d772d5b43a8d64c9c1ae Mon Sep 17 00:00:00 2001 From: Guido Berhoerster Date: Fri, 28 Dec 2012 15:05:02 +0000 Subject: [PATCH] - provide/obsolete Terminal-lang correctly OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=2 --- xfce4-terminal.changes | 5 +++++ xfce4-terminal.spec | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/xfce4-terminal.changes b/xfce4-terminal.changes index b52534a..32faffd 100644 --- a/xfce4-terminal.changes +++ b/xfce4-terminal.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 28 15:02:35 UTC 2012 - gber@opensuse.org + +- provide/obsolete Terminal-lang correctly + ------------------------------------------------------------------- Fri Dec 28 09:37:33 UTC 2012 - gber@opensuse.org diff --git a/xfce4-terminal.spec b/xfce4-terminal.spec index e977412..47f44a7 100644 --- a/xfce4-terminal.spec +++ b/xfce4-terminal.spec @@ -47,7 +47,18 @@ window, the possibility to have a pseudo-transparent terminal background, and a compact mode where both the menubar and the window decorations are hidden which helps to save space on the desktop. -%lang_package +# expanded %%lang_package with Obsoletes/Provides added +%package lang +Summary: Languages for package %{name} +Group: System/Localization +Requires: %{name} = %{version} +Provides: %{name}-lang-all = %{version} +Supplements: packageand(bundle-lang-other:%{name}) +Provides: Terminal-lang = %{version} +Obsoletes: Terminal-lang < %{version} +BuildArch: noarch +%description lang +Provides translations to the package %{name} %prep %setup -q