Package init

This commit is contained in:
lei_ju 2020-08-18 16:54:00 +08:00
parent bbe55c5ce2
commit bb97044893
3 changed files with 45 additions and 0 deletions

41
coro-mock.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: headius/coro-mock
tag_prefix: "coro-mock-"
seperator: "."

Binary file not shown.