2020-08-25 19:04:10 +08:00
|
|
|
Name: jetty-test-policy
|
|
|
|
|
Version: 1.2
|
2022-05-11 16:47:07 +08:00
|
|
|
Release: 2
|
2020-08-25 19:04:10 +08:00
|
|
|
Summary: Jetty test policy files
|
2022-05-11 16:47:07 +08:00
|
|
|
License: ASL 2.0 or EPL-1.0
|
2020-08-25 19:04:10 +08:00
|
|
|
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" "
|
|
|
|
|
<execution>
|
|
|
|
|
<id>default-jar</id>
|
|
|
|
|
<phase>skip</phase>
|
|
|
|
|
</execution>"
|
|
|
|
|
|
|
|
|
|
%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
|
2022-05-11 16:47:07 +08:00
|
|
|
* Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 1.2-2
|
|
|
|
|
- modify license identifier
|
|
|
|
|
|
2020-08-25 19:04:10 +08:00
|
|
|
* Wed Aug 5 2020 huanghaitao <huanghaitao8@huawei.com> - 1.2-1
|
|
|
|
|
- package init
|