Few more changes to succeed the build

This commit is contained in:
Parag Nemade 2018-03-14 13:56:46 +05:30
parent 54692f369e
commit e2803f69db
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

View File

@ -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 <pnemade AT redhat DOT com> - 1:2.00.1
* Wed Mar 14 2018 Parag Nemade <pnemade AT redhat DOT com> - 1:2.00.1-1
- Update to 2.00.1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.07.4-11