Compile with jdk11 due to jboss-modules updated
This commit is contained in:
parent
834665a0a5
commit
2d0ba53637
@ -2,7 +2,7 @@
|
|||||||
%global namedversion %{version}%{?namedreltag}
|
%global namedversion %{version}%{?namedreltag}
|
||||||
Name: log4j-jboss-logmanager
|
Name: log4j-jboss-logmanager
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: JBoss Log4j Emulation
|
Summary: JBoss Log4j Emulation
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Url: https://github.com/jboss-logging/log4j-jboss-logmanager
|
Url: https://github.com/jboss-logging/log4j-jboss-logmanager
|
||||||
@ -11,6 +11,9 @@ BuildRequires: maven-local mvn(junit:junit) mvn(log4j:log4j:12) jakarta-ma
|
|||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) maven-failsafe-plugin
|
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) maven-failsafe-plugin
|
||||||
BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.logging:jboss-logging)
|
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)
|
BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager) mvn(org.jboss.modules:jboss-modules)
|
||||||
|
BuildRequires: java-11-openjdk-devel
|
||||||
|
Requires: java-11-openjdk
|
||||||
|
Requires: javapackages-tools
|
||||||
Provides: bundled(log4j12) = 1.2.17-15
|
Provides: bundled(log4j12) = 1.2.17-15
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
@ -30,6 +33,9 @@ sed -i 's/createSourcesJar>true/createSourcesJar>false/' pom.xml
|
|||||||
%pom_change_dep :log4j ::12
|
%pom_change_dep :log4j ::12
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export JAVA_HOME=%{_jvmdir}/java-11-openjdk
|
||||||
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||||
|
export CXXFLAGS="${RPM_OPT_FLAGS}"
|
||||||
%mvn_build -f
|
%mvn_build -f
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -42,6 +48,9 @@ sed -i 's/createSourcesJar>true/createSourcesJar>false/' pom.xml
|
|||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 01 2023 Ge Wang <wang__ge@126.com> - 1.3.0-2
|
||||||
|
- Compile with jdk11 due to jboss-modules updated
|
||||||
|
|
||||||
* Mon Jun 6 2022 liyanan <liyanan32@h-partners.com> - 1.3.0-1
|
* Mon Jun 6 2022 liyanan <liyanan32@h-partners.com> - 1.3.0-1
|
||||||
- update to 1.3.0
|
- update to 1.3.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user