Update requirements for EL7

This commit is contained in:
Orion Poplawski 2016-03-23 22:20:57 -06:00
parent 99d8de70d2
commit e2ff30f6ae

View File

@ -5,12 +5,8 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
# Building docs fails on EL7 due to https://bugzilla.redhat.com/show_bug.cgi?id=1064453
%if 0%{?rhel} == 7
%global builddocs 0
%else
%global builddocs 1 %global builddocs 1
%endif
# For rc versions, change release manually # For rc versions, change release manually
#global rcver 2 #global rcver 2
%if 0%{?rcver:1} %if 0%{?rcver:1}
@ -112,6 +108,10 @@ BuildRequires: texinfo-tex
%if 0%{?fedora} || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: texlive-collection-fontsrecommended BuildRequires: texlive-collection-fontsrecommended
%endif %endif
%if 0%{?rhel} >= 7
BuildRequires: texlive-ec
BuildRequires: texlive-metapost
%endif
BuildRequires: zlib-devel BuildRequires: zlib-devel
# For check # For check
BuildRequires: mesa-dri-drivers BuildRequires: mesa-dri-drivers