diff --git a/jboss-logging.spec b/jboss-logging.spec index 6ee8a9a..837b3a8 100644 --- a/jboss-logging.spec +++ b/jboss-logging.spec @@ -3,7 +3,7 @@ Name: jboss-logging Version: 3.4.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The JBoss Logging Framework License: ASL 2.0 @@ -13,8 +13,8 @@ Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz BuildArch: noarch BuildRequires: maven-local -BuildRequires: mvn(log4j:log4j:1.2.16) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.logging.log4j:log4j-1.2-api) BuildRequires: mvn(org.apache.logging.log4j:log4j-api) BuildRequires: mvn(org.jboss:jboss-parent:pom:) BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager) @@ -35,6 +35,9 @@ This package contains the API documentation for %{name}. # Unneeded task %pom_remove_plugin :maven-source-plugin +# switch from log4j 1.2 compat package to log4j 1.2 API shim +%pom_change_dep log4j:log4j org.apache.logging.log4j:log4j-1.2-api + cp -p src/main/resources/META-INF/LICENSE.txt . sed -i 's/\r//' LICENSE.txt @@ -51,6 +54,9 @@ sed -i 's/\r//' LICENSE.txt %license LICENSE.txt %changelog +* Wed Sep 09 2020 Fabio Valentini - 3.4.1-5 +- Switch from log4j 1.2 compat package to log4j 1.2 API shim. + * Tue Jul 28 2020 Fedora Release Engineering - 3.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild