From 55896afba3f83709c09466f71347edcbe5d28666 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 14 Oct 2021 19:46:04 -0400 Subject: [PATCH] =?UTF-8?q?Add=20Provides/Obsoletes=20to=20support=20?= =?UTF-8?q?=E2=80=9Ccmap-resources=E2=80=9D=20retirement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adobe-mappings-cmap.spec | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/adobe-mappings-cmap.spec b/adobe-mappings-cmap.spec index afc7c32..48c093f 100644 --- a/adobe-mappings-cmap.spec +++ b/adobe-mappings-cmap.spec @@ -1,7 +1,7 @@ Name: adobe-mappings-cmap Summary: CMap resources for Adobe's character collections Version: 20190730 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD URL: https://www.adobe.com/ @@ -11,6 +11,27 @@ BuildArch: noarch BuildRequires: git BuildRequires: make +# The cmap-resources package duplicated this one (albeit with different +# installation paths). It was retired for F36. Provide an upgrade path. +%global crversion %(echo '%{version}' | \ + awk '{print substr($0,1,4)"."substr($0,5,2)"."substr($0,7)}') +Provides: cmap-resources = %{crversion}-6.%{release} +Obsoletes: cmap-resources < 2019.07.30-6 +Provides: cmap-resources-cns1-6 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-cns1-6 < 2019.07.30-6 +Provides: cmap-resources-cns1-7 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-cns1-7 < 2019.07.30-6 +Provides: cmap-resources-gb1-5 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-gb1-5 < 2019.07.30-6 +Provides: cmap-resources-japan1-7 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-japan1-7 < 2019.07.30-6 +Provides: cmap-resources-korea1-2 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-korea1-2 < 2019.07.30-6 +Provides: cmap-resources-identity-0 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-identity-0 < 2019.07.30-6 +Provides: cmap-resources-kr-9 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-kr-9 < 2019.07.30-6 + %description CMap (Character Map) resources are used to unidirectionally map character codes, such as Unicode encoding form, to CIDs (Character IDs -- meaning glyphs) of a @@ -26,6 +47,9 @@ characters. Summary: Deprecated CMap resources for Adobe's character collections Requires: %{name} = %{version}-%{release} +Provides: cmap-resources-japan2-0 = %{crversion}-6.%{release} +Obsoletes: cmap-resources-japan2-0 < 2019.07.30-6 + %description deprecated This sub-package contains currently deprecated CMap resources that some applications might still require to function properly. @@ -86,6 +110,9 @@ _EOF # ============================================================================= %changelog +* Thu Oct 14 2021 Benjamin A. Beasley - 20190730-2 +- Add Provides/Obsoletes to support “cmap-resources” retirement + * Wed Oct 13 2021 Benjamin A. Beasley - 20190730-1 - Update to 20190730 (close RHBZ#2013684)