42 lines
1.0 KiB
RPMSpec
42 lines
1.0 KiB
RPMSpec
%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
|