Remove useless patches
This commit is contained in:
parent
3476b3030b
commit
054db3a354
@ -1,19 +0,0 @@
|
|||||||
From a082da6b4a09a6ba18c9016ff65da888a7e100ec Mon Sep 17 00:00:00 2001
|
|
||||||
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
|
||||||
Date: Fri, 19 May 2023 07:07:56 +0000
|
|
||||||
Subject: [PATCH] fix build error for loongarch64
|
|
||||||
|
|
||||||
---
|
|
||||||
rebar.config | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/rebar.config b/rebar.config
|
|
||||||
index 47c1534..cf97e5b 100644
|
|
||||||
--- a/rebar.config
|
|
||||||
+++ b/rebar.config
|
|
||||||
@@ -1 +1,2 @@
|
|
||||||
{post_hooks, [{compile, "sed -i -e \"s,%VSN%,${VSN},g\" ebin/erlsyslog.app"}]}.
|
|
||||||
+{port_env, [{"DRV_LDFLAGS", "-shared -L/usr/lib64/erlang/lib/erl_interface-4.0.3.1/lib -lei"}]}.
|
|
||||||
--
|
|
||||||
2.33.0
|
|
||||||
|
|
||||||
@ -2,22 +2,18 @@
|
|||||||
%global upstream lemenkov
|
%global upstream lemenkov
|
||||||
Name: erlang-%{realname}
|
Name: erlang-%{realname}
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Syslog facility for Erlang
|
Summary: Syslog facility for Erlang
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/%{upstream}/%{realname}
|
URL: https://github.com/%{upstream}/%{realname}
|
||||||
Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
|
Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
|
||||||
BuildRequires: erlang-rebar gcc
|
BuildRequires: erlang-rebar gcc
|
||||||
BuildRequires: erlang-eunit
|
BuildRequires: erlang-eunit
|
||||||
Patch0: 0001-fix-build-error-for-loongarch64.patch
|
|
||||||
%description
|
%description
|
||||||
Syslog facility for Erlang.
|
Syslog facility for Erlang.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{realname}-%{version}
|
%setup -q -n %{realname}-%{version}
|
||||||
%ifarch loongarch64
|
|
||||||
%patch0 -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{erlang_compile}
|
%{erlang_compile}
|
||||||
@ -33,6 +29,9 @@ Syslog facility for Erlang.
|
|||||||
%{erlang_appdir}/
|
%{erlang_appdir}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 04 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.8.0-4
|
||||||
|
- Remove useless patches
|
||||||
|
|
||||||
* Sun Jul 23 2023 yaoxin <yao_xin001@hoperun.com> - 0.8.0-3
|
* Sun Jul 23 2023 yaoxin <yao_xin001@hoperun.com> - 0.8.0-3
|
||||||
- Fix test failure
|
- Fix test failure
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user