2020-08-07 06:17:52 +03:00
|
|
|
%define debug_package %{nil}
|
2023-02-28 01:18:04 +03:00
|
|
|
Summary: erlang
|
|
|
|
Name: erlang
|
2024-03-22 23:42:35 +03:00
|
|
|
Version: 26.2.3
|
2024-04-05 22:28:35 +03:00
|
|
|
Release: 2%{?dist}
|
2023-02-28 01:18:04 +03:00
|
|
|
License: Apache-2.0
|
2020-08-07 06:17:52 +03:00
|
|
|
Vendor: Microsoft Corporation
|
2024-02-06 23:14:23 +03:00
|
|
|
Distribution: Azure Linux
|
2023-02-28 01:18:04 +03:00
|
|
|
Group: Development/Languages
|
|
|
|
URL: https://erlang.org
|
2024-03-22 23:42:35 +03:00
|
|
|
Source0: https://github.com/erlang/otp/archive/OTP-%{version}/otp-OTP-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2024-04-05 22:28:35 +03:00
|
|
|
Patch0: OTP-24-Code.patch
|
2023-02-28 01:18:04 +03:00
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: unixODBC-devel
|
|
|
|
BuildRequires: unzip
|
2020-08-07 06:17:52 +03:00
|
|
|
|
2024-03-22 23:42:35 +03:00
|
|
|
%if 0%{?with_check}
|
|
|
|
BuildRequires: clang-tools-extra
|
|
|
|
%endif
|
|
|
|
|
2020-08-07 06:17:52 +03:00
|
|
|
%description
|
2024-03-22 23:42:35 +03:00
|
|
|
Erlang is a programming language and runtime system for building massively scalable soft real-time systems with requirements on high availability.
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%prep
|
2024-04-05 22:28:35 +03:00
|
|
|
%autosetup -n otp-OTP-%{version} -p1
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%build
|
|
|
|
export ERL_TOP=`pwd`
|
2023-02-28 01:18:04 +03:00
|
|
|
%configure
|
2024-03-22 23:42:35 +03:00
|
|
|
%make_build
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%install
|
2023-02-28 01:18:04 +03:00
|
|
|
%make_install
|
2020-08-07 06:17:52 +03:00
|
|
|
|
2024-03-22 23:42:35 +03:00
|
|
|
%check
|
|
|
|
export ERL_TOP=`pwd`
|
|
|
|
./otp_build check --no-docs
|
|
|
|
|
2020-08-07 06:17:52 +03:00
|
|
|
%post
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%license LICENSE.txt
|
2023-02-28 01:18:04 +03:00
|
|
|
%{_bindir}/ct_run
|
|
|
|
%{_bindir}/dialyzer
|
|
|
|
%{_bindir}/epmd
|
|
|
|
%{_bindir}/erl
|
|
|
|
%{_bindir}/erlc
|
|
|
|
%{_bindir}/escript
|
|
|
|
%{_bindir}/run_erl
|
|
|
|
%{_bindir}/to_erl
|
|
|
|
%{_bindir}/typer
|
|
|
|
%{_libdir}/erlang/*
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%changelog
|
2024-04-05 22:28:35 +03:00
|
|
|
* Mon Apr 01 2024 Sam Meluch <sammeluch@microsoft.com> - 26.2.3-2
|
|
|
|
- Add patch to fix issue when running with compiled code from OTP-24 on aarch64
|
|
|
|
|
2024-03-22 23:42:35 +03:00
|
|
|
* Thu Mar 21 2024 Sam Meluch <sammeluch@microsoft.com> - 26.2.3-1
|
|
|
|
- Update to version 26.2.3
|
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Tue Feb 14 2023 Sam Meluch <sammeluch@microsoft.com> - 25.2-1
|
|
|
|
- Update to version 25.2
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Cameron Baird <cameronbaird@microsoft.com> - 24.2-1
|
|
|
|
- Update to version 24.2
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 22.0.7-2
|
|
|
|
- Added %%license line automatically
|
2020-08-07 06:17:52 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Thu Mar 19 2020 Henry Beberman <henry.beberman@microsoft.com> 22.0.7-1
|
|
|
|
- Update to 22.0.7. Fix URL. Fix Source0 URL. License verified.
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 19.3-4
|
|
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Thu Jan 31 2019 Siju Maliakkal <smaliakkal@vmware.com> 19.3-3
|
|
|
|
- Revert to old version to fix rabbitmq-server startup failure
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Fri Dec 07 2018 Ashwin H <ashwinh@vmware.com> 21.1.4-1
|
|
|
|
- Update to version 21.1.4
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Mon Sep 24 2018 Dweep Advani <dadvani@vmware.com> 21.0-1
|
|
|
|
- Update to version 21.0
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 19.3-2
|
|
|
|
- Remove BuildArch
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Thu Apr 06 2017 Chang Lee <changlee@vmware.com> 19.3-1
|
|
|
|
- Updated Version
|
2022-01-27 02:31:25 +03:00
|
|
|
|
2023-02-28 01:18:04 +03:00
|
|
|
* Mon Dec 12 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 19.1-1
|
|
|
|
- Initial.
|