From e2803f69db319b13a475f02c5cc7694352a52784 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 14 Mar 2018 13:56:46 +0530 Subject: [PATCH] Few more changes to succeed the build --- liberation-fonts.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/liberation-fonts.spec b/liberation-fonts.spec index f103b7a..e859260 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -12,7 +12,7 @@ New. Name: %{fontname}-fonts Summary: Fonts to replace commonly used Microsoft Windows fonts Version: 2.00.1 -Release: 11%{?dist} +Release: 1%{?dist} Epoch: 1 # The license of the Liberation Fonts is a EULA that contains GPLv2 and two # exceptions: @@ -34,6 +34,8 @@ BuildArch: noarch BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils BuildRequires: fontforge BuildRequires: libappstream-glib +BuildRequires: python2 +BuildRequires: python2-fonttools Requires: %{fontname}-mono-fonts = %{epoch}:%{version}-%{release} Requires: %{fontname}-sans-fonts = %{epoch}:%{version}-%{release} @@ -108,6 +110,7 @@ New. # Fedora fix for https://bugzilla.redhat.com/show_bug.cgi?id=1526510 sed -i 's/OS2_UseTypoMetrics: 1/OS2_UseTypoMetrics: 0/g' src/*.sfd +sed -i 's|/usr/bin/env python|%{_bindir}/python2|' scripts/setisFixedPitch-fonttools.py %build make %{?_smp_mflags} @@ -160,7 +163,7 @@ appstream-util validate-relax --nonet \ %files %changelog -* Wed Mar 14 2018 Parag Nemade - 1:2.00.1 +* Wed Mar 14 2018 Parag Nemade - 1:2.00.1-1 - Update to 2.00.1 * Wed Feb 07 2018 Fedora Release Engineering - 1:1.07.4-11