From 7364edc452ff2d6dd93c25469c2d7d05dd789189 Mon Sep 17 00:00:00 2001 From: zhouwenpei Date: Wed, 27 Jul 2022 15:47:02 +0800 Subject: [PATCH] change the font library path to /usr/share/fonts --- abattis-cantarell-fonts.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/abattis-cantarell-fonts.spec b/abattis-cantarell-fonts.spec index 5c5ba07..383ee00 100644 --- a/abattis-cantarell-fonts.spec +++ b/abattis-cantarell-fonts.spec @@ -4,7 +4,7 @@ Name: abattis-cantarell-fonts Version: 0.303.1 -Release: 2 +Release: 3 Summary: Humanist sans serif font License: Apache-2.0 and OFL-1.1 URL: https://git.gnome.org/browse/cantarell-fonts/ @@ -29,7 +29,7 @@ The font was originally created by Dave Crossland in 2009. %build %meson \ - -Dfontsdir=%{_fontconfig_confdir}/%{name} \ + -Dfontsdir=%{_fontbasedir}/%{name} \ -Duseprebuilt=true %meson_build @@ -49,7 +49,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnom %files %license COPYING -%{_fontconfig_confdir}/%{name}/*.otf +%{_fontbasedir}/%{name}/*.otf %{_fontconfig_confdir}/%{fontconf} %{_fontconfig_confdir}/%{fontconfvf} %{_fontconfig_templatedir}/%{fontconf} @@ -60,6 +60,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnom %{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml %changelog +* Wed Jul 27 2022 zhouwenpei - 0.303.1-3 +- change the font library path to /usr/share/fonts + * Sat May 07 2022 liuyumeng - 0.303.1-2 - fix license error