diff --git a/coro-mock.spec b/coro-mock.spec new file mode 100644 index 0000000..f8d9e21 --- /dev/null +++ b/coro-mock.spec @@ -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 - 1.0-1 +- Package init diff --git a/coro-mock.yaml b/coro-mock.yaml new file mode 100644 index 0000000..22ad520 --- /dev/null +++ b/coro-mock.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: headius/coro-mock +tag_prefix: "coro-mock-" +seperator: "." diff --git a/headius-coro-mock-e55ca83.tar.gz b/headius-coro-mock-e55ca83.tar.gz new file mode 100644 index 0000000..19ae136 Binary files /dev/null and b/headius-coro-mock-e55ca83.tar.gz differ