X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=erlang.spec;h=f8278985a740daebfb3262dddb328e0d3e393cad;hb=412fbe685e10ee259f0b036a3044d01eba145abf;hp=4a7ba4feb4ba9a04db8a4f849028455cb5c14e30;hpb=8738d87507389e7c04fb860a2ca334aea176a8ad;p=packages%2Ferlang.git diff --git a/erlang.spec b/erlang.spec index 4a7ba4f..f827898 100644 --- a/erlang.spec +++ b/erlang.spec @@ -1,20 +1,21 @@ # # Conditional build: %bcond_with java # with Java support +%bcond_without odbc # without unixODBC support # Summary: OpenSource Erlang/OTP Summary(pl): Erlang/OTP z otwartymi ¼ród³ami Name: erlang -Version: R10B_7 -Release: 1.1 +Version: R10B_9 +Release: 1 Epoch: 1 License: distributable Group: Development/Languages %define _version %(echo %{version} | tr _ -) Source0: http://www.erlang.org/download/otp_src_%{_version}.tar.gz -# Source0-md5: fc039c62862ebae141e27370401aaab0 -Source1: http://www.erlang.org/download/otp_doc_man_R10B-6.tar.gz -# Source1-md5: 0243d2ff01fb2bac03115bcbe2284b20 +# Source0-md5: 05791e9097f36202eb705df2a1db6500 +Source1: http://www.erlang.org/download/otp_doc_man_R10B-9.tar.gz +# Source1-md5: 051cd9893b36313f20a420bc2491905c Patch0: %{name}-fPIC.patch Patch1: %{name}-optional_java.patch Patch2: %{name}-hipe_optimistic_regalloc_once_only.patch @@ -29,6 +30,11 @@ BuildRequires: ncurses-devel BuildRequires: openssl-devel >= 0.9.7 Buildrequires: openssl-tools BuildRequires: perl-base +%if %{with odbc} +BuildRequires: unixODBC-devel +%else +BuildConflicts: unixODBC-devel +%endif BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _erl_target %(echo %{_build} | sed -e's/amd64/x86_64/;s/athlon/i686/;s/ppc/powerpc/') @@ -71,7 +77,7 @@ cd .. %configure \ --with%{!?with_java:out}-java ERL_TOP=`pwd`; export ERL_TOP -%{__make} \ +LD_ASSUME_KERNEL=2.4.19 %{__make} \ TARGET="%{_erl_target}" \ || { find . -name erl_crash.dump | xargs cat ; exit 1 ; }