Allow erlang25 compilation to fix build error
This commit is contained in:
parent
063048236e
commit
d9dac833cf
11
allow-erlang25-compilation.patch
Normal file
11
allow-erlang25-compilation.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/rebar.config 2021-03-19 20:42:47.000000000 +0800
|
||||||
|
+++ b/rebar.config 2023-09-16 16:26:22.738810933 +0800
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
%% accept R15B02.., any R16B except R16B03
|
||||||
|
%% also accept OTP v17, altough it may not work properly on that release yet..
|
||||||
|
-{require_otp_vsn, "R16B$|R16B[^0]|R16B0[^3]|R16B03-1|17|18|19|20|21|22|23"}.
|
||||||
|
+{require_otp_vsn, "R16B$|R16B[^0]|R16B0[^3]|R16B03-1|17|18|19|20|21|22|23|24|25"}.
|
||||||
|
|
||||||
|
{erl_opts, [debug_info]}.
|
||||||
|
{yrl_opts, [{includefile, "include/erlydtl_preparser.hrl"}]}.
|
||||||
@ -2,18 +2,19 @@
|
|||||||
%global upstream erlydtl
|
%global upstream erlydtl
|
||||||
Name: erlang-%{realname}
|
Name: erlang-%{realname}
|
||||||
Version: 0.14.0
|
Version: 0.14.0
|
||||||
Release: 2
|
Release: 3
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Summary: Erlang implementation of the Django Template Language
|
Summary: Erlang implementation of the Django Template Language
|
||||||
License: MIT and Apache-2.0
|
License: MIT and Apache-2.0
|
||||||
URL: https://github.com/%{upstream}/%{realname}
|
URL: https://github.com/%{upstream}/%{realname}
|
||||||
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
|
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
|
||||||
Source0: https://github.com/%{upstream}/%{realname}/archive/refs/tags/0.14.0.tar.gz
|
Source0: https://github.com/%{upstream}/%{realname}/archive/refs/tags/0.14.0.tar.gz
|
||||||
Patch1: erlang-erlydtl-0001-Verbose-testing.patch
|
Patch1: erlang-erlydtl-0001-Verbose-testing.patch
|
||||||
Patch2: erlang-erlydtl-0002-No-such-function-exported-gettext_compile-write_pret.patch
|
Patch2: erlang-erlydtl-0002-No-such-function-exported-gettext_compile-write_pret.patch
|
||||||
Patch3: erlang-erlydtl-0003-No-such-function-exported-gettext_compile-fmt_filein.patch
|
Patch3: erlang-erlydtl-0003-No-such-function-exported-gettext_compile-fmt_filein.patch
|
||||||
Patch4: erlang-erlydtl-0004-No-such-fun-gettext_compile-open_po_file-3.patch
|
Patch4: erlang-erlydtl-0004-No-such-fun-gettext_compile-open_po_file-3.patch
|
||||||
Patch5: erlang-erlydtl-0005-No-such-fun-gettext_compile-close_file-0.patch
|
Patch5: erlang-erlydtl-0005-No-such-fun-gettext_compile-close_file-0.patch
|
||||||
|
Patch6: allow-erlang25-compilation.patch
|
||||||
Provides: ErlyDTL = %{version}-%{release}
|
Provides: ErlyDTL = %{version}-%{release}
|
||||||
BuildRequires: erlang-rebar
|
BuildRequires: erlang-rebar
|
||||||
BuildRequires: erlang-eunit
|
BuildRequires: erlang-eunit
|
||||||
@ -50,6 +51,9 @@ cp -arv priv %{buildroot}/%{erlang_appdir}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 18 2023 wangkai <13474090681@163.com> - 0.14.0-3
|
||||||
|
- Allow erlang25 compilation to fix build error
|
||||||
|
|
||||||
* Thu Jul 20 2023 yaoxin <yao_xin001@hoperun.com> - 0.14.0-2
|
* Thu Jul 20 2023 yaoxin <yao_xin001@hoperun.com> - 0.14.0-2
|
||||||
- Fix build error
|
- Fix build error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user