switch from log4j 1.2 compat package to log4j 1.2 API shim
This commit is contained in:
parent
c5101e1094
commit
2228be0673
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: jboss-logging
|
Name: jboss-logging
|
||||||
Version: 3.4.1
|
Version: 3.4.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: The JBoss Logging Framework
|
Summary: The JBoss Logging Framework
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
|
|
||||||
@ -13,8 +13,8 @@ Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(log4j:log4j:1.2.16)
|
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
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.apache.logging.log4j:log4j-api)
|
||||||
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
||||||
BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager)
|
BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager)
|
||||||
@ -35,6 +35,9 @@ This package contains the API documentation for %{name}.
|
|||||||
# Unneeded task
|
# Unneeded task
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%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 .
|
cp -p src/main/resources/META-INF/LICENSE.txt .
|
||||||
sed -i 's/\r//' LICENSE.txt
|
sed -i 's/\r//' LICENSE.txt
|
||||||
|
|
||||||
@ -51,6 +54,9 @@ sed -i 's/\r//' LICENSE.txt
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 09 2020 Fabio Valentini <decathorpe@gmail.com> - 3.4.1-5
|
||||||
|
- Switch from log4j 1.2 compat package to log4j 1.2 API shim.
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-4
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user