!1 package init

Merge pull request !1 from 康少强/master
This commit is contained in:
openeuler-ci-bot 2020-09-01 17:54:16 +08:00 committed by Gitee
commit d2f50f0768
3 changed files with 53 additions and 0 deletions

Binary file not shown.

49
jboss-modules.spec Normal file
View File

@ -0,0 +1,49 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-modules
Version: 1.5.2
Release: 1
Summary: A Modular Classloading System
License: ASL 2.0 and xpp
URL: https://github.com/jbossas/jboss-modules
Source0: https://github.com/jbossas/jboss-modules/archive/%{namedversion}/jboss-modules-%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.jboss:jboss-parent:pom:)
BuildRequires: mvn(org.jboss.shrinkwrap:shrinkwrap-impl-base)
%if 0%{?fedora}
BuildRequires: graphviz mvn(jdepend:jdepend) mvn(org.jboss.apiviz:apiviz)
%endif
%description
Ths package contains A Modular Classloading System.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{namedversion}
if [ %{?rhel} ]; then
%pom_remove_plugin :maven-javadoc-plugin
fi
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-checkstyle-plugin
rm src/test/java/org/jboss/modules/MavenResourceTest.java \
src/test/java/org/jboss/modules/maven/MavenSettingsTest.java
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE.txt XPP3-LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt XPP3-LICENSE.txt
%changelog
* Wed Aug 26 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 1.5.2-1
- Package init

4
jboss-modules.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jbossas/jboss-modules
tag_pattern: jboss-modules-(.*?).Final
seperator: "."