Name: concurrentunit Version: 0.4.2 Release: 2%{?dist} Summary: Toolkit for testing multi-threaded and asynchronous applications License: ASL 2.0 URL: https://github.com/jhalterman/%{name} Source0: %{url}/archive/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: %{url}/commit/388f6952194df3f3bb6bd44cdd120d8e51c959b3.patch BuildArch: noarch BuildRequires: maven-local # for tests, see pom.xml BuildRequires: testng BuildRequires: hamcrest # runtime optional features Suggests: hamcrest %description ConcurrentUnit was created to help developers test multi-threaded or asynchronous code. It allows you to perform assertions and wait for operations in any thread, with failures being properly reported back to the main test thread. If an assertion fails, your test fails, regardless of which thread the assertion came from. %package javadoc Summary: Javadoc files for %{name} %description javadoc %{summary}. %prep %autosetup -p1 -n%{name}-%{name}-%{version} # unbundle hamcrest sed -i /optional/d pom.xml # W: wrong-file-end-of-line-encoding sed -i 's,\r,,' *.md %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE.txt %doc *.md %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Thu Mar 31 2016 Raphael Groner - 0.4.2-2 - add patch for license header - fix line delimiter - unbundle hamcrest * Sun Feb 7 2016 Raphael Groner - 0.4.2-1 - initial