Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ae9a6af88 | ||
|
|
872f576cd4 |
1 changed files with 10 additions and 3 deletions
13
erlang.spec
13
erlang.spec
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
Name: erlang
|
||||
Version: %{upstream_ver}
|
||||
Release: %{upstream_rel_for_rpm}.2%{?dist}
|
||||
Release: %{upstream_rel_for_rpm}.3%{?dist}
|
||||
Summary: General-purpose programming language and runtime environment
|
||||
|
||||
Group: Development/Languages
|
||||
|
|
@ -87,6 +87,7 @@ Patch9: otp-0009-Restore-installation-of-a-n-internal-erl_interface-A.patch
|
|||
# BuildRoot not strictly needed since F10, but keep it for spec file robustness
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: lksctp-tools-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
|
@ -449,6 +450,8 @@ Summary: Functionality necessary to run the Erlang System itself
|
|||
Group: Development/Languages
|
||||
Requires: %{name}-kernel%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-stdlib%{?_isa} = %{version}-%{release}
|
||||
Provides: erlang(erl_drv_version) = 2.0
|
||||
Provides: erlang(erl_nif_version) = 2.3
|
||||
Obsoletes: %{name} < R13B-04.5
|
||||
|
||||
%description erts
|
||||
|
|
@ -1024,9 +1027,9 @@ rm -f lib/ssl/examples/certs/etc/erlangCA/index.txt.old
|
|||
|
||||
%build
|
||||
%ifarch sparcv9 sparc64
|
||||
CFLAGS="$RPM_OPT_FLAGS -mcpu=ultrasparc -fno-strict-aliasing" %configure --enable-shared-zlib
|
||||
CFLAGS="$RPM_OPT_FLAGS -mcpu=ultrasparc -fno-strict-aliasing" %configure --enable-shared-zlib --enable-sctp
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --enable-shared-zlib
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --enable-shared-zlib --enable-sctp
|
||||
%endif
|
||||
|
||||
# Remove pre-built BEAM files
|
||||
|
|
@ -2337,6 +2340,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Mar 02 2013 Peter Lemenkov <lemenkov@gmail.com> - R15B-03.3
|
||||
- Add neccessary BuildRequires for SCTP (see rhbz #908530)
|
||||
- Fixed erts provides
|
||||
|
||||
* Tue Dec 25 2012 Peter Lemenkov <lemenkov@gmail.com> - R15B-03.2
|
||||
- Run make clean before build (to remove pre-built files)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue