This commit is contained in:
parent
bdc3fecd01
commit
16e9501ea2
@ -1,7 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 29 09:35:41 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Wed Sep 29 09:35:41 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
- Obsolete terminus-ttf-fonts and add 40-terminus-alias.conf.
|
- Add 40-terminus-alias.conf.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 20 17:42:56 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Mon Sep 20 17:42:56 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
@ -29,7 +29,6 @@ Source3: 40-terminus-alias.conf
|
|||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
BuildRequires: zstd
|
BuildRequires: zstd
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Obsoletes: terminus-ttf-fonts <= %version
|
|
||||||
%reconfigure_fonts_prereq
|
%reconfigure_fonts_prereq
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,7 +44,7 @@ tar --use=zstd --strip-components=1 -xf %SOURCE0
|
|||||||
%install
|
%install
|
||||||
mkdir -p "%buildroot/%_ttfontsdir" "%buildroot/%_sysconfdir/fonts/conf.d" "%buildroot/%_datadir/fontconfig/conf.avail"
|
mkdir -p "%buildroot/%_ttfontsdir" "%buildroot/%_sysconfdir/fonts/conf.d" "%buildroot/%_datadir/fontconfig/conf.avail"
|
||||||
cp -av *.otf "%buildroot/%_ttfontsdir/"
|
cp -av *.otf "%buildroot/%_ttfontsdir/"
|
||||||
# Obsolete Terminus font variation from ax86
|
# If ax86's variant is not installed, this alias will take effect
|
||||||
cp -av "%_sourcedir/40-terminus-alias.conf" "%buildroot/%_datadir/fontconfig/conf.avail"
|
cp -av "%_sourcedir/40-terminus-alias.conf" "%buildroot/%_datadir/fontconfig/conf.avail"
|
||||||
ln -s "%_datadir/fontconfig/conf.avail/40-terminus-alias.conf" "%buildroot/%_sysconfdir/fonts/conf.d/"
|
ln -s "%_datadir/fontconfig/conf.avail/40-terminus-alias.conf" "%buildroot/%_sysconfdir/fonts/conf.d/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user