package init

This commit is contained in:
root 2020-08-26 14:26:12 +08:00
parent 906f979b66
commit 5a40699e83
3 changed files with 43 additions and 0 deletions

Binary file not shown.

39
jboss-logmanager.spec Normal file
View File

@ -0,0 +1,39 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-logmanager
Version: 2.0.4
Release: 1
Summary: JBoss Log Manager
License: ASL 2.0
URL: https://github.com/jboss-logging/jboss-logmanager
Source0: https://github.com/jboss-logging/jboss-logmanager/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.modules:jboss-modules)
%description
This package contains the JBoss Log Manager
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{namedversion}
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Wed Aug 26 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 2.0.4-1
- Package init

4
jboss-logmanager.yaml Normal file
View File

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