use macro consistently

epel9
David Tardon 9 years ago
parent 54fb239970
commit 92684221ac

@ -1,6 +1,7 @@
%global pkgname roboto %global pkgname roboto
%global srcname %{pkgname}-unhinted %global srcname %{pkgname}-unhinted
%global fontname google-roboto %global fontname google-roboto
%global fontconf 64-%{fontname}
Name: google-roboto-fonts Name: google-roboto-fonts
Version: 2.134 Version: 2.134
@ -12,8 +13,8 @@ License: ASL 2.0 and CC0
URL: https://github.com/google/roboto URL: https://github.com/google/roboto
Source0: https://github.com/google/%{pkgname}/releases/download/v%{version}/%{srcname}.zip Source0: https://github.com/google/%{pkgname}/releases/download/v%{version}/%{srcname}.zip
Source1: https://raw.githubusercontent.com/google/%{pkgname}/v%{version}/LICENSE Source1: https://raw.githubusercontent.com/google/%{pkgname}/v%{version}/LICENSE
Source2: 64-%{fontname}-condensed-fontconfig.conf Source2: %{fontconf}-condensed-fontconfig.conf
Source3: 64-%{fontname}-fontconfig.conf Source3: %{fontconf}-fontconfig.conf
Source4: %{fontname}-condensed.metainfo.xml Source4: %{fontname}-condensed.metainfo.xml
Source5: %{fontname}.metainfo.xml Source5: %{fontname}.metainfo.xml
BuildArch: noarch BuildArch: noarch
@ -22,8 +23,6 @@ BuildRequires: fontpackages-devel
Obsoletes: %{fontname}-common < 2.134-1 Obsoletes: %{fontname}-common < 2.134-1
%global fontconf 64-%{fontname}
%description %description
Roboto is a sans-serif typeface family introduced with Android Ice Cream Roboto is a sans-serif typeface family introduced with Android Ice Cream
Sandwich operating system. Google describes the font as "modern, yet Sandwich operating system. Google describes the font as "modern, yet

Loading…
Cancel
Save