!13 change the font library path to /usr/share/fonts

From: @zhouwenpei 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-07-27 09:13:25 +00:00 committed by Gitee
commit c95c447760
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhouwenpei1@h-partners.com> - 0.303.1-3
- change the font library path to /usr/share/fonts
* Sat May 07 2022 liuyumeng <liuyumeng5@h-partners.com> - 0.303.1-2
- fix license error