Jan Engelhardt 2021-09-29 09:45:17 +00:00 committed by Git OBS Bridge
parent bdc3fecd01
commit 16e9501ea2
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -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/"