Name: jetty-test-policy Version: 1.2 Release: 1 Summary: Jetty test policy files License: ASL 2.0 or EPL URL: http://www.eclipse.org/jetty/ BuildArch: noarch Source0: http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/org.eclipse.jetty.toolchain-%{name}-%{version}.tar.gz Source2: http://www.eclipse.org/legal/epl-v10.html Source3: http://www.apache.org/licenses/LICENSE-2.0.txt Patch0: 0001-Sign-JAR-with-maven-jarsigner-plugin.patch BuildRequires: maven-local mvn(org.apache.maven.plugins:maven-jarsigner-plugin) BuildRequires: mvn(org.eclipse.jetty.toolchain:jetty-toolchain:pom:) %description Jetty test policy files %package javadoc Summary: API documentation for %{name} %description javadoc This package provides %{summary}. %prep %autosetup -n org.eclipse.jetty.toolchain-%{name}-%{version} -p1 cp -p %{SOURCE2} %{SOURCE3} . %pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" " default-jar skip " %build %mvn_build %install %mvn_install %files -f .mfiles %license epl-v10.html LICENSE-2.0.txt %files javadoc -f .mfiles-javadoc %license epl-v10.html LICENSE-2.0.txt %changelog * Wed Aug 5 2020 huanghaitao - 1.2-1 - package init