package init
This commit is contained in:
parent
bd355916e8
commit
a64f2b2e57
39
erlang-hamcrest.spec
Normal file
39
erlang-hamcrest.spec
Normal file
@ -0,0 +1,39 @@
|
||||
%global realname hamcrest
|
||||
%global upstream hyperthunk
|
||||
%global git_tag 0766ea004f7dd900c36b06aff14dbbac1d03b425
|
||||
Name: erlang-%{realname}
|
||||
Version: 0.1.0
|
||||
Release: 1
|
||||
BuildArch: noarch
|
||||
Summary: A framework for writing matcher objects using declarative rules
|
||||
License: MIT and BSD
|
||||
URL: https://github.com/%{upstream}/%{realname}-erlang
|
||||
VCS: scm:git:https://github.com/%{upstream}/%{realname}-erlang.git
|
||||
Source0: https://github.com/%{upstream}/%{realname}-erlang/archive/%{git_tag}/%{realname}-%{version}.tar.gz
|
||||
BuildRequires: erlang-proper erlang-rebar
|
||||
%description
|
||||
Hamcrest is a framework for writing matcher objects allowing 'match' rules to
|
||||
be defined declaratively. There are a number of situations where matchers are
|
||||
invaluable, such as UI validation, or data filtering, but it is in the area of
|
||||
writing flexible tests that matchers are most commonly used.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{realname}-erlang-%{git_tag}
|
||||
|
||||
%build
|
||||
%{erlang_compile}
|
||||
|
||||
%install
|
||||
%{erlang_install}
|
||||
|
||||
%check
|
||||
%{rebar_ct -C test.config}
|
||||
|
||||
%files
|
||||
%license LICENCE
|
||||
%doc NOTES README.markdown
|
||||
%{erlang_appdir}/
|
||||
|
||||
%changelog
|
||||
* Sat Aug 29 2020 wangyue <wangyue92@huawei.com> - 0.1.0-1
|
||||
- package init
|
||||
5
erlang-hamcrest.yaml
Normal file
5
erlang-hamcrest.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/hyperthunk/hamcrest-erlang
|
||||
version_control: github
|
||||
src_repo: hyperthunk/hamcrest-erlang
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
BIN
hamcrest-0.1.0.tar.gz
Normal file
BIN
hamcrest-0.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user