-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Erlang 25, 26 and 27 to the latest version
- Loading branch information
Showing
3 changed files
with
18 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
%define eprefix %{_prefix}%{_lib32} | ||
%define ver_maj 26 | ||
%define ver_min 2 | ||
%define ver_patch 5.2 | ||
%define ver_patch 5.3 | ||
%define ver_suffix %{ver_min}.%{ver_patch} | ||
%define ver_string %{ver_maj}.%{ver_suffix} | ||
%define realname erlang | ||
|
@@ -57,13 +57,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
BuildRequires: ncurses-devel unixODBC-devel tcl-devel make | ||
BuildRequires: tk-devel flex bison gd-devel gd-devel libxslt | ||
BuildRequires: valgrind-devel java-1.8.0-openjdk-devel | ||
BuildRequires: lksctp-tools-devel autoconf | ||
|
||
%if 0%{?rhel} <= 7 | ||
BuildRequires: devtoolset-11-gcc-c++ devtoolset-11-binutils | ||
%else | ||
BuildRequires: gcc-c++ | ||
%endif | ||
BuildRequires: lksctp-tools-devel autoconf gcc-c++ | ||
|
||
Requires: tk tcl | ||
|
||
|
@@ -697,9 +691,8 @@ a few bugs in the scanner, and improves HTML export. | |
################################################################################ | ||
|
||
%prep | ||
%{crc_check} | ||
|
||
%setup -qn otp-OTP-%{ver_string} | ||
%crc_check | ||
%autosetup -n otp-OTP-%{ver_string} | ||
|
||
tar xzvf %{SOURCE10} | ||
|
||
|
@@ -708,11 +701,6 @@ export CFLAGS="%{optflags} -fPIC" | |
export CXXLAGS=$CFLAGS | ||
export BUILDDIR=$(pwd) | ||
|
||
%if 0%{?rhel} <= 7 | ||
# Use gcc and gcc-c++ from DevToolSet 11 | ||
export PATH="/opt/rh/devtoolset-11/root/usr/bin:$PATH" | ||
%endif | ||
|
||
### Static LibreSSL build start ### | ||
|
||
pushd libressl-%{libre_ver} | ||
|
@@ -1033,6 +1021,9 @@ rm -rf %{buildroot} | |
################################################################################ | ||
|
||
%changelog | ||
* Fri Sep 20 2024 Anton Novojilov <[email protected]> - 26.2.5.3-0 | ||
- https://github.com/erlang/otp/releases/tag/OTP-26.2.5.3 | ||
|
||
* Sun Aug 04 2024 Anton Novojilov <[email protected]> - 26.2.5.2-0 | ||
- https://github.com/erlang/otp/releases/tag/OTP-26.2.5.2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,7 @@ | |
%define elibdir %{_libdir}/erlang/lib | ||
%define eprefix %{_prefix}%{_lib32} | ||
%define ver_maj 27 | ||
%define ver_min 0 | ||
%define ver_patch 1 | ||
%define ver_min 1 | ||
%define ver_suffix %{ver_min}%{?ver_patch:.%{ver_patch}} | ||
%define ver_string %{ver_maj}.%{ver_suffix} | ||
%define realname erlang | ||
|
@@ -57,13 +56,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
BuildRequires: ncurses-devel unixODBC-devel tcl-devel make | ||
BuildRequires: tk-devel flex bison gd-devel gd-devel libxslt | ||
BuildRequires: valgrind-devel java-1.8.0-openjdk-devel | ||
BuildRequires: lksctp-tools-devel autoconf | ||
|
||
%if 0%{?rhel} <= 7 | ||
BuildRequires: devtoolset-11-gcc-c++ devtoolset-11-binutils | ||
%else | ||
BuildRequires: gcc-c++ | ||
%endif | ||
BuildRequires: lksctp-tools-devel autoconf gcc-c++ | ||
|
||
Requires: tk tcl | ||
|
||
|
@@ -683,9 +676,8 @@ a few bugs in the scanner, and improves HTML export. | |
################################################################################ | ||
|
||
%prep | ||
%{crc_check} | ||
|
||
%setup -qn otp-OTP-%{ver_string} | ||
%crc_check | ||
%autosetup -n otp-OTP-%{ver_string} | ||
|
||
tar xzvf %{SOURCE10} | ||
|
||
|
@@ -694,11 +686,6 @@ export CFLAGS="%{optflags} -fPIC" | |
export CXXLAGS=$CFLAGS | ||
export BUILDDIR=$(pwd) | ||
|
||
%if 0%{?rhel} <= 7 | ||
# Use gcc and gcc-c++ from DevToolSet 11 | ||
export PATH="/opt/rh/devtoolset-11/root/usr/bin:$PATH" | ||
%endif | ||
|
||
### Static LibreSSL build start ### | ||
|
||
pushd libressl-%{libre_ver} | ||
|
@@ -1015,6 +1002,9 @@ rm -rf %{buildroot} | |
################################################################################ | ||
|
||
%changelog | ||
* Fri Sep 20 2024 Anton Novojilov <[email protected]> - 27.1-0 | ||
- https://github.com/erlang/otp/releases/tag/OTP-27.1 | ||
|
||
* Sun Aug 04 2024 Anton Novojilov <[email protected]> - 27.0.1-0 | ||
- https://github.com/erlang/otp/releases/tag/OTP-27.0.1 | ||
|
||
|