Upgrade to SLF4j 1.7
This commit is contained in:
parent
ad1468bbfa
commit
caeb23a038
24
0001-SLF4j-1.7-upgrade.patch
Normal file
24
0001-SLF4j-1.7-upgrade.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 43ff272e418b7c2699d60fc930d5c97d8a4ebd82 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Goldmann <marek.goldmann@gmail.com>
|
||||
Date: Tue, 1 Jul 2014 14:26:35 +0200
|
||||
Subject: [PATCH] SLF4j 1.7 upgrade
|
||||
|
||||
---
|
||||
src/main/java/org/jboss/logging/Slf4jLoggerProvider.java | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java b/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
|
||||
index 0eedf16..4434838 100644
|
||||
--- a/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
|
||||
+++ b/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
|
||||
@@ -55,6 +55,6 @@ final class Slf4jLoggerProvider extends AbstractLoggerProvider implements Logger
|
||||
|
||||
@SuppressWarnings({ "unchecked" })
|
||||
public Map<String, Object> getMdcMap() {
|
||||
- return MDC.getCopyOfContextMap();
|
||||
+ return (Map) MDC.getCopyOfContextMap();
|
||||
}
|
||||
}
|
||||
--
|
||||
1.9.3
|
||||
|
@ -3,12 +3,14 @@
|
||||
|
||||
Name: jboss-logging
|
||||
Version: 3.1.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: The JBoss Logging Framework
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/jboss-logging/jboss-logging
|
||||
Source0: https://github.com/jboss-logging/jboss-logging/archive/%{namedversion}.tar.gz
|
||||
|
||||
Patch0: 0001-SLF4j-1.7-upgrade.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
@ -39,6 +41,8 @@ This package contains the API documentation for %{name}.
|
||||
%prep
|
||||
%setup -q -n jboss-logging-%{namedversion}
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
|
||||
@ -52,6 +56,9 @@ This package contains the API documentation for %{name}.
|
||||
%doc src/main/resources/META-INF/LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Tue Jul 01 2014 Marek Goldmann <mgoldman@redhat.com> - 3.1.4-3
|
||||
- Upgrade to SLF4j 1.7
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user