Add Provides lines for Obsoletes packages.
Resolves: rhbz#2126575
This commit is contained in:
parent
b50ff340cc
commit
a47934e410
@ -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 <tagoh@redhat.com> - 20201206-1.git0c78c8329-4
|
||||
- Add Provides lines for Obsoletes packages.
|
||||
Resolves: rhbz#2126575
|
||||
|
||||
* Wed Aug 31 2022 Akira TAGOH <tagoh@redhat.com> - 20201206-1.git0c78c8329-3
|
||||
- Drop lang="ar" for Kufi/Naskh Arabic fonts.
|
||||
- Adjust priority for Noto Thai fonts.
|
||||
|
Loading…
Reference in New Issue
Block a user