From c36ae97cb91a823d0d752f118e54f9d92fabd93a Mon Sep 17 00:00:00 2001 From: Nicolas Mailhot Date: Tue, 28 Apr 2020 12:51:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Workaround=20Fedora=20problems?= =?UTF-8?q?=20created=20by=20rpm=20commit=2093604e2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- google-droid-fonts.spec | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/google-droid-fonts.spec b/google-droid-fonts.spec index c52d84c..d8d3a1b 100644 --- a/google-droid-fonts.spec +++ b/google-droid-fonts.spec @@ -3,10 +3,12 @@ BuildArch: noarch # No sane versionning upstream, use git clone timestamp Version: 20200215 -Release: 5%{?dist} +Release: 6%{?dist} License: ASL 2.0 URL: https://android.googlesource.com/ +%global source_name google-droid-fonts + %global foundry Google %global fontlicenses NOTICE %global fontdocs *.txt @@ -74,6 +76,9 @@ Droid Naskh name.} %global archivename google-droid-fonts-%{version} +%fontmeta + +%global source_files %{expand: Source0: %{archivename}.tar.xz # Brutal script used to pull sources from upstream git # Needs at least 2 Gib of space in /var/tmp @@ -81,13 +86,14 @@ Source1: getdroid.sh Source11: 65-%{fontpkgname1}.xml Source12: 60-%{fontpkgname2}.xml Source13: 65-%{fontpkgname3}.xml +} -Name: google-droid-fonts +%new_package Summary: A set of general-purpose font families released by Google as part of Android %description %wordwrap -v common_description -%fontpkg -a +%fontpkg %fontmetapkg @@ -95,17 +101,21 @@ Summary: A set of general-purpose font families released by Google as part of A %setup -q -n %{archivename} %build -%fontbuild -a +%fontbuild %install -%fontinstall -a +%fontinstall %check -%fontcheck -a +%fontcheck -%fontfiles -a +%fontfiles %changelog +* Mon Apr 27 2020 Nicolas Mailhot +- 20200215-6 +🐞 Workaround Fedora problems created by rpm commit 93604e2 + * Thu Apr 02 2020 Nicolas Mailhot - 20200215-5 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are