package init
This commit is contained in:
parent
6f671bf5b1
commit
e505d531b6
35
erlang-erlsyslog.spec
Normal file
35
erlang-erlsyslog.spec
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
%global realname erlsyslog
|
||||||
|
%global upstream lemenkov
|
||||||
|
Name: erlang-%{realname}
|
||||||
|
Version: 0.8.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Syslog facility for Erlang
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/%{upstream}/%{realname}
|
||||||
|
%if 0%{?el7}%{?fedora}
|
||||||
|
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
|
||||||
|
%endif
|
||||||
|
Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
|
||||||
|
BuildRequires: erlang-rebar gcc
|
||||||
|
%description
|
||||||
|
Syslog facility for Erlang.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{realname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{erlang_compile}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{erlang_install}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{erlang_test}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc example
|
||||||
|
%{erlang_appdir}/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 19 2020 huanghaitao <huanghaitao8@huawei.com> - 0.8.0-1
|
||||||
|
- package init
|
||||||
4
erlang-erlsyslog.yaml
Normal file
4
erlang-erlsyslog.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: lemenkov/erlsyslog
|
||||||
|
tag_prefix: ""
|
||||||
|
seperator: "."
|
||||||
BIN
erlsyslog-0.8.0.tar.gz
Normal file
BIN
erlsyslog-0.8.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user