package init

This commit is contained in:
root 2020-08-26 10:07:41 +08:00
parent 6f91c552d8
commit 438eac7ae4
3 changed files with 37 additions and 0 deletions

32
jetty-toolchain.spec Normal file
View File

@ -0,0 +1,32 @@
Name: jetty-toolchain
Version: 1.4
Release: 1
Summary: Jetty Toolchain main POM file
License: ASL 2.0 or EPL
URL: http://www.eclipse.org/jetty/
Source0: https://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/org.eclipse.jetty.toolchain-jetty-toolchain-1.4.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(org.eclipse.jetty:jetty-parent:pom:)
%description
Jetty Toolchain main POM file
%prep
%setup -q -n org.eclipse.jetty.toolchain-jetty-toolchain-1.4
cp -p jetty-distribution-remote-resources/src/main/resources/* .
pushd %{name}
%pom_remove_plugin :maven-release-plugin
%build
pushd %{name}
%mvn_build
%install
pushd %{name}
%mvn_install
%files -f %{name}/.mfiles
%doc LICENSE-APACHE-2.0.txt LICENSE-ECLIPSE-1.0.html notice.html
%changelog
* Thu Jul 30 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.4-1
- Package init

5
jetty-toolchain.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/eclipse/jetty.toolchain
version_control: github
src_repo: eclipse/jetty.toolchain
tag_prefix: "jetty-toolchain-"
seperator: "."

Binary file not shown.