erlang-erlsyslog/erlang-erlsyslog.spec
2023-07-23 09:54:03 +08:00

44 lines
934 B
RPMSpec

%global realname erlsyslog
%global upstream lemenkov
Name: erlang-%{realname}
Version: 0.8.0
Release: 3
Summary: Syslog facility for Erlang
License: MIT
URL: https://github.com/%{upstream}/%{realname}
Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
BuildRequires: erlang-rebar gcc
BuildRequires: erlang-eunit
Patch0: 0001-fix-build-error-for-loongarch64.patch
%description
Syslog facility for Erlang.
%prep
%setup -q -n %{realname}-%{version}
%ifarch loongarch64
%patch0 -p1
%endif
%build
%{erlang_compile}
%install
%{erlang_install}
%check
%{erlang_test}
%files
%doc example
%{erlang_appdir}/
%changelog
* Sun Jul 23 2023 yaoxin <yao_xin001@hoperun.com> - 0.8.0-3
- Fix test failure
* Mon May 8 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.8.0-2
- fix build error for loongarch64
* Sat Sep 19 2020 huanghaitao <huanghaitao8@huawei.com> - 0.8.0-1
- package init