Fix EPEL build
This commit is contained in:
parent
dc1dbff43e
commit
c4ec814e71
18
thrift.spec
18
thrift.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user