commit
c6ed9052ba
41
coro-mock.spec
Normal file
41
coro-mock.spec
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
%global git e55ca83
|
||||||
|
%global namedreltag -SNAPSHOT
|
||||||
|
%global namedversion %{version}%{?namedreltag}
|
||||||
|
Name: coro-mock
|
||||||
|
Version: 1.0
|
||||||
|
Release: 1
|
||||||
|
Summary: A mock library for compiling JVM coroutine-using code on JVMs without coroutines
|
||||||
|
License: Public Domain
|
||||||
|
Url: https://github.com/headius/coro-mock
|
||||||
|
Source0: https://github.com/headius/coro-mock/tarball/%{git}/headius-coro-mock-%{git}.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(junit:junit)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
A small mock library for compiling JVM coroutine-utilizing code on JVMs
|
||||||
|
without coroutines.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n headius-%{name}-%{git}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Aug 14 2020 leiju <leiju4@huawei.com> - 1.0-1
|
||||||
|
- Package init
|
||||||
4
coro-mock.yaml
Normal file
4
coro-mock.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: headius/coro-mock
|
||||||
|
tag_prefix: "coro-mock-"
|
||||||
|
seperator: "."
|
||||||
BIN
headius-coro-mock-e55ca83.tar.gz
Normal file
BIN
headius-coro-mock-e55ca83.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user