Name: jetty-test-helper Version: 3.1 Release: 1 License: ASL 2.0 or EPL Summary: Jetty toolchain test helper URL: https://github.com/eclipse/jetty.toolchain Source0: https://github.com/eclipse/jetty.toolchain/archive/%{name}-%{version}.tar.gz Source1: https://github.com/eclipse/jetty.project/blob/jetty-9.3.x/LICENSE-eplv10-aslv20.html BuildArch: noarch BuildRequires: maven-local mvn(junit:junit) BuildRequires: mvn(org.eclipse.jetty.toolchain:jetty-toolchain:pom:) BuildRequires: mvn(org.hamcrest:hamcrest-library) %description Unit Testing Support for Jetty (common classes for some unit tests). %package javadoc Summary: Javadoc %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n jetty.toolchain-%{name}-%{version}/%{name} find -name '*.?ar' -delete find -name '*.class' -delete cp %{SOURCE1} . %pom_remove_plugin :maven-pmd-plugin %pom_remove_plugin :maven-license-plugin %pom_remove_plugin :findbugs-maven-plugin %pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-source-plugin %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE-eplv10-aslv20.html %files javadoc -f .mfiles-javadoc %license LICENSE-eplv10-aslv20.html %changelog * Wed Aug 5 2020 huanghaitao - 3.1-1 - package init