Name: junit-hierarchicalcontextrunner Version: 4.12.2 Release: 1%{?dist} Summary: A runner implementation that supports context hierarchies in JUnit License: EPL-1.0 URL: https://github.com/bechte/junit-hierarchicalcontextrunner Source0: %{url}/archive/r%{version}.tar.gz BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.hamcrest:hamcrest-all) BuildRequires: mvn(org.mockito:mockito-all) %description %{summary}. %javadoc_package %prep %autosetup -n %{name}-r%{version} find -type f '(' -name '*.jar' -o -name '*.class' ')' -delete %pom_remove_parent %pom_xpath_remove 'pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration/pom:source' %pom_xpath_remove 'pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration/pom:target' %pom_xpath_remove 'pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration/pom:compilerVersion' %build %mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %install %mvn_install %files -f .mfiles %license LICENSE %doc README.md %changelog * Fri Sep 17 2021 Didik Supriadi - 4.12.2-1 - Initial package