commit
710183d5c4
BIN
1.1.2.Final.tar.gz
Normal file
BIN
1.1.2.Final.tar.gz
Normal file
Binary file not shown.
46
log4j-jboss-logmanager.spec
Normal file
46
log4j-jboss-logmanager.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
%global namedreltag .Final
|
||||||
|
%global namedversion %{version}%{?namedreltag}
|
||||||
|
Name: log4j-jboss-logmanager
|
||||||
|
Version: 1.1.2
|
||||||
|
Release: 1
|
||||||
|
Summary: JBoss Log4j Emulation
|
||||||
|
License: ASL 2.0
|
||||||
|
Url: https://github.com/jboss-logging/log4j-jboss-logmanager
|
||||||
|
Source0: https://github.com/jboss-logging/log4j-jboss-logmanager/archive/%{namedversion}.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(junit:junit) mvn(log4j:log4j:12)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
|
||||||
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.logging:jboss-logging)
|
||||||
|
BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager) mvn(org.jboss.modules:jboss-modules)
|
||||||
|
Provides: bundled(log4j12) = 1.2.17-15
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
This package contains the JBoss Log4J Emulation.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n log4j-jboss-logmanager-%{namedversion}
|
||||||
|
cp -p src/main/resources/META-INF/LICENSE .
|
||||||
|
cp -p src/main/resources/META-INF/NOTICE .
|
||||||
|
sed -i 's/\r//' LICENSE NOTICE
|
||||||
|
sed -i 's/createSourcesJar>true/createSourcesJar>false/' pom.xml
|
||||||
|
%pom_change_dep :log4j ::12
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -f
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.1.2-1
|
||||||
|
- Package init
|
||||||
4
log4j-jboss-logmanager.yaml
Normal file
4
log4j-jboss-logmanager.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: jboss-logging/log4j-jboss-logmanager
|
||||||
|
tag_pattern: "(.*?).Final"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user