Fix EPEL build

This commit is contained in:
Lubomir Rintel 2014-05-05 11:39:14 +02:00
parent dc1dbff43e
commit c4ec814e71
1 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,6 @@
%global pkg_version 0.9.1
%global fb303_version 1.0.0_dev
%global pkg_rel 11
%global pkg_rel 12
%global py_version 2.7
@ -54,6 +54,16 @@
%global php_configure --with-php
%endif
%if 0%{?rhel}
%global want_mono 0
%else
%ifarch %{mono_arches}
%global want_mono 1
%else
%global want_mono 0
%endif
%endif
# Thrift's GO support doesn't build under Fedora
%global want_golang 0
%global golang_configure --without-go
@ -109,7 +119,7 @@ BuildRequires: openssl-devel
BuildRequires: zlib-devel
BuildRequires: bison-devel
BuildRequires: flex-devel
%ifarch %{mono_arches}
%if %{want_mono}
BuildRequires: mono-devel
%endif
BuildRequires: glib2-devel
@ -127,7 +137,7 @@ BuildRequires: flex-devel
BuildRequires: ant
%ifarch %{mono_arches}
%if %{want_mono}
Requires: mono-core
%endif
@ -537,6 +547,8 @@ find %{buildroot} -name \*.py -exec grep -q /usr/bin/env {} \; -print | xargs -r
%changelog
* Mon May 05 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-12
- Fix EPEL build
* Fri Feb 21 2014 willb <willb@redhat> - 0.9.1-11
- fix BZ 1068561