From a47934e4100b6fe65f939666abe46c6d2313786a Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 15 Sep 2022 17:03:43 +0900 Subject: [PATCH] Add Provides lines for Obsoletes packages. Resolves: rhbz#2126575 --- google-noto-fonts.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/google-noto-fonts.spec b/google-noto-fonts.spec index 76e5fbd..567f1e8 100644 --- a/google-noto-fonts.spec +++ b/google-noto-fonts.spec @@ -22,7 +22,7 @@ in Unicode.\ Name: %{fontname}-fonts Version: 20201206^1.git%{snapver} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts License: OFL URL: https://github.com/googlefonts/noto-fonts/ @@ -953,7 +953,7 @@ Noto ]] .. table.family .. (table.variable and ' variable' or '') .. " font." if table.obsoletes then for i = 1, #table.obsoletes do - obsoletes = obsoletes .. "Obsoletes: %{_fontname}-" .. table.obsoletes[i] .. "-fonts < %{version}-%{release}\n" + obsoletes = obsoletes .. "Obsoletes: %{_fontname}-" .. table.obsoletes[i] .. "-fonts < %{version}-%{release}\n" .. "Provides: %{_fontname}-" .. table.obsoletes[i] .. "-fonts = %{version}-%{release}\n" end end print(rpm.expand([[ @@ -1057,6 +1057,10 @@ done %changelog +* Thu Sep 15 2022 Akira TAGOH - 20201206-1.git0c78c8329-4 +- Add Provides lines for Obsoletes packages. + Resolves: rhbz#2126575 + * Wed Aug 31 2022 Akira TAGOH - 20201206-1.git0c78c8329-3 - Drop lang="ar" for Kufi/Naskh Arabic fonts. - Adjust priority for Noto Thai fonts.