!1 package init

Merge pull request !1 from huanghaitao/master
This commit is contained in:
openeuler-ci-bot 2020-09-02 11:06:01 +08:00 committed by Gitee
commit 237523f861
4 changed files with 4080 additions and 0 deletions

4030
LICENSE-eplv10-aslv20.html Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

46
jetty-test-helper.spec Normal file
View File

@ -0,0 +1,46 @@
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 <huanghaitao8@huawei.com> - 3.1-1
- package init

4
jetty-test-helper.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: eclipse/jetty.toolchain
tag_prefix: "jetty-test-helper-"
seperator: "."