jetty-test-helper/jetty-test-helper.spec

50 lines
1.5 KiB
RPMSpec
Raw Normal View History

2020-08-25 19:06:44 +08:00
Name: jetty-test-helper
Version: 3.1
2022-05-11 16:46:59 +08:00
Release: 2
License: ASL 2.0 or EPL-1.0
2020-08-25 19:06:44 +08:00
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
2022-05-11 16:46:59 +08:00
* Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 3.1-2
- modify license identifier
2020-08-25 19:06:44 +08:00
* Wed Aug 5 2020 huanghaitao <huanghaitao8@huawei.com> - 3.1-1
- package init