From b87ed28fc59fde198b6075dcc11dd5b8be1967dc Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Nov 16 2020 05:56:43 +0000 Subject: Add Provides and Obsoletes --- diff --git a/kasumi.spec b/kasumi.spec index 705a879..7ef54dd 100644 --- a/kasumi.spec +++ b/kasumi.spec @@ -1,8 +1,12 @@ +# anthy-unicode migration +# https://github.com/fcitx/fcitx-anthy/issues/12 +# https://osdn.net/projects/scim-imengine/ticket/40956 +# https://github.com/uim/uim/issues/166 %bcond_without unicode Name: kasumi Version: 2.5 -Release: 30%{?dist} +Release: 31%{?dist} License: GPLv2+ URL: http://kasumi.sourceforge.jp/ @@ -12,6 +16,9 @@ BuildRequires: gcc-c++ %if %{with unicode} BuildRequires: anthy-unicode-devel Requires: %{name}-common = %{version}-%{release} +%else +Provides: %{name}-common = %{version}-%{release} +Obsoletes: %{name}-common <= %{version}-%{release} %endif Source0: http://jaist.dl.sourceforge.jp/kasumi/41436/%{name}-%{version}.tar.gz Patch0: kasumi-853099-manpage.patch @@ -24,6 +31,7 @@ Kasumi is a dictionary management tool for Anthy. %if %{with unicode} %package common +Provides: %{name} = %{version}-%{release} Summary: Anthy dictionary management common files between kasumi and kasumi-unicode BuildArch: noarch @@ -101,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %changelog +* Fri Nov 13 2020 Takao Fujiwra - 2.5-31 +- Add Provides and Obsoletes + * Thu Nov 12 2020 Takao Fujiwra - 2.5-30 - Generate kasumi-unicode for anthy-unicode