From 4b76352e83af9d36ad710bd9a19252e303a5a99f Mon Sep 17 00:00:00 2001 From: Hikari Hayashi Date: Wed, 24 Jun 2026 03:38:53 +0800 Subject: [PATCH] fix: add fonts suffix to Source Han subpackages (#13234) * Add fonts suffix to Source Han subpackages * Use full names for Source Han subpackages --- anda/fonts/source-han-sans/source-han-sans-fonts.spec | 6 +++--- anda/fonts/source-han-serif/source-han-serif-fonts.spec | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/anda/fonts/source-han-sans/source-han-sans-fonts.spec b/anda/fonts/source-han-sans/source-han-sans-fonts.spec index ee5e7198d9..1c43d63fd2 100644 --- a/anda/fonts/source-han-sans/source-han-sans-fonts.spec +++ b/anda/fonts/source-han-sans/source-han-sans-fonts.spec @@ -27,10 +27,10 @@ This package ships the Static OTC versions. %dnl Parameterized macros cannot be defined using `%global`. Guess I'm today years old. — mado %dnl ╭── %define fpkg(vhs) %define fpkg(vhs) \ -%package %{-h:hw-}%{-v:vf-}%{-s:subset-}%1 \ +%package -n source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \ Summary: %name: %{-h:half-width }%{-v:variable }%{-s:subset }%{upper:%1} font files \ \ -%description %{-h:hw-}%{-v:vf-}%{-s:subset-}%1 \ +%description -n source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \ This package provides a specific font type of %name. \ %{-v:VF: variable font: Variable font weights are supported. \ }%{-h:HW: half-width: some proportional punctuations are turned into half-width. \ @@ -39,7 +39,7 @@ https://github.com/adobe-fonts/source-han-sans/blob/release/SourceHanSansReadMe. }%{-s:Subset: The fonts are split into regional-specific subset fonts. \ } \ \ -%files %{-h:hw-}%{-v:vf-}%{-s:subset-}%1 \ +%files -n source-han-sans-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \ %license LICENSE.txt %dnl ╰── %define fpkg(vhs) diff --git a/anda/fonts/source-han-serif/source-han-serif-fonts.spec b/anda/fonts/source-han-serif/source-han-serif-fonts.spec index 3feed92b3e..dc1e250a8e 100644 --- a/anda/fonts/source-han-serif/source-han-serif-fonts.spec +++ b/anda/fonts/source-han-serif/source-han-serif-fonts.spec @@ -27,10 +27,10 @@ This package ships the Static OTC versions. %dnl Parameterized macros cannot be defined using `%global`. Guess I'm today years old. — mado %dnl ╭── %define fpkg(vhs) %define fpkg(vhs) \ -%package %{-h:hw-}%{-v:vf-}%{-s:subset-}%1 \ +%package -n source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \ Summary: %name: %{-h:half-width }%{-v:variable }%{-s:subset }%{upper:%1} font files \ \ -%description %{-h:hw-}%{-v:vf-}%{-s:subset-}%1 \ +%description -n source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \ This package provides a specific font type of %name. \ %{-v:VF: variable font: Variable font weights are supported. \ }%{-h:HW: half-width: some proportional punctuations are turned into half-width. \ @@ -39,7 +39,7 @@ https://github.com/adobe-fonts/source-han-sans/blob/release/SourceHanSansReadMe. }%{-s:Subset: The fonts are split into regional-specific subset fonts. \ } \ \ -%files %{-h:hw-}%{-v:vf-}%{-s:subset-}%1 \ +%files -n source-han-serif-%{-h:hw-}%{-v:vf-}%{-s:subset-}%1-fonts \ %license LICENSE.txt %dnl ╰── %define fpkg(vhs)