Update CI script for new installed font path

f38
Parag Nemade 5 years ago
parent e2947b6918
commit 8695d7e347
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

@ -1,7 +1,7 @@
BuildArch: noarch
Version: 1.31.0
Release: 6%{?dist}
Release: 7%{?dist}
License: ASL 2.0
#URL:
@ -109,6 +109,9 @@ echo %{fontpkgname}
%fontfiles -a
%changelog
* Wed Mar 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.31.0-7
- Update CI script for new installed font path
* Tue Mar 10 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.31.0-6
- Convert to new fonts packaging guidelines
- Dropped Obsoletes: google-croscore-symbolneu-fonts (Added in F29)

@ -1,15 +1,15 @@
#/usr/bin/bash
aminfo=`rpm -q --provides google-croscore-arimo-fonts| grep "metainfo(google-croscore-arimo.metainfo.xml)"`
aminfo=`rpm -q --provides google-arimo-fonts| grep "metainfo(org.fedoraproject.google-arimo-fonts.metainfo.xml)"`
if [[ $aminfo ]];then
echo "metainfo present for Google CrosCore Arimo font"
fi
tminfo=`rpm -q --provides google-croscore-tinos-fonts| grep "metainfo(google-croscore-tinos.metainfo.xml)"`
if [[ $tminfo ]];then
echo "metainfo present for Google CrosCore Tinos font"
fi
cminfo=`rpm -q --provides google-croscore-cousine-fonts | grep "metainfo(google-croscore-cousine.metainfo.xml)"`
cminfo=`rpm -q --provides google-cousine-fonts | grep "metainfo(org.fedoraproject.google-cousine-fonts.metainfo.xml)"`
if [[ $cminfo ]];then
echo "metainfo present for Google CrosCore Cousine font"
fi
tminfo=`rpm -q --provides google-tinos-fonts| grep "metainfo(org.fedoraproject.google-tinos-fonts.metainfo.xml)"`
if [[ $tminfo ]];then
echo "metainfo present for Google CrosCore Tinos font"
fi

@ -7,8 +7,15 @@
tasks:
- name: Install required packages
dnf:
name: google-croscore-*-fonts
name: google-arimo-fonts
state: latest
dnf:
name: google-cousine-fonts
state: latest
dnf:
name: google-tinos-fonts
state: latest
- name: Install the test files
copy: src={{ item.file }} dest=/usr/local/bin/{{ item.dest }} mode=0755

Loading…
Cancel
Save