This commit is contained in:
parent
e7cded5828
commit
db2e494c01
4
_service
4
_service
@ -2,8 +2,8 @@
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/qos-ch/logback.git</param>
|
||||
<param name="revision">v_1.2.3</param>
|
||||
<param name="versionformat">1.2.3</param>
|
||||
<param name="revision">v_1.2.8</param>
|
||||
<param name="versionformat">1.2.8</param>
|
||||
<param name="filename">logback</param>
|
||||
<param name="exclude">logback-access/lib</param>
|
||||
</service>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cca5db1d05143817b767e6f5d5f34f1990ff19da8d80f6cdc0c8b14da6ef0e70
|
||||
size 2986604
|
@ -1,32 +1,22 @@
|
||||
diff --git a/logback-access/pom.xml b/logback-access/pom.xml
|
||||
index ab1319b00..f16d17814 100755
|
||||
--- a/logback-access/pom.xml
|
||||
+++ b/logback-access/pom.xml
|
||||
@@ -45,6 +45,12 @@
|
||||
<scope>compile</scope>
|
||||
--- logback-1.2.8/logback-access/pom.xml 2021-12-14 12:55:51.000000000 +0100
|
||||
+++ logback-1.2.8/logback-access/pom.xml 2021-12-16 15:35:11.255651389 +0100
|
||||
@@ -47,6 +47,12 @@
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
+ <dependency>
|
||||
<dependency>
|
||||
+ <groupId>org.eclipse.jetty</groupId>
|
||||
+ <artifactId>jetty-util</artifactId>
|
||||
+ <scope>compile</scope>
|
||||
+ <optional>true</optional>
|
||||
+ </dependency>
|
||||
<dependency>
|
||||
+ <dependency>
|
||||
<groupId>org.codehaus.janino</groupId>
|
||||
<artifactId>janino</artifactId>
|
||||
@@ -173,4 +179,4 @@
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
-</project>
|
||||
\ No newline at end of file
|
||||
+</project>
|
||||
diff --git a/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java b/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java
|
||||
index bb11766d9..77ca796bb 100644
|
||||
--- a/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java
|
||||
+++ b/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java
|
||||
@@ -209,11 +209,6 @@ public class RequestLogImpl extends ContextBase implements RequestLog, AppenderA
|
||||
<scope>compile</scope>
|
||||
Only in logback-1.2.8/logback-access: pom.xml.orig
|
||||
--- logback-1.2.8/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java 2021-12-14 12:55:51.000000000 +0100
|
||||
+++ logback-1.2.8/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java 2021-12-16 15:35:11.255651389 +0100
|
||||
@@ -209,11 +209,6 @@
|
||||
started = false;
|
||||
}
|
||||
|
||||
@ -38,7 +28,7 @@ index bb11766d9..77ca796bb 100644
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
@@ -227,26 +222,6 @@ public class RequestLogImpl extends ContextBase implements RequestLog, AppenderA
|
||||
@@ -227,26 +222,6 @@
|
||||
return started;
|
||||
}
|
||||
|
||||
@ -65,7 +55,7 @@ index bb11766d9..77ca796bb 100644
|
||||
public boolean isQuiet() {
|
||||
return quiet;
|
||||
}
|
||||
@@ -310,13 +285,7 @@ public class RequestLogImpl extends ContextBase implements RequestLog, AppenderA
|
||||
@@ -310,13 +285,7 @@
|
||||
return fai.getFilterChainDecision(event);
|
||||
}
|
||||
|
3
logback-1.2.8.tar.xz
Normal file
3
logback-1.2.8.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e8e9455e20c8709cc6cf4099a2ff288500255e50e884e05419c992b516b395cf
|
||||
size 2976640
|
23
logback.spec
23
logback.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package logback
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,14 +17,14 @@
|
||||
|
||||
|
||||
Name: logback
|
||||
Version: 1.2.3
|
||||
Version: 1.2.8
|
||||
Release: 0
|
||||
Summary: A Java logging library
|
||||
License: LGPL-2.1-or-later OR EPL-1.0
|
||||
License: EPL-1.0 OR LGPL-2.1-or-later
|
||||
URL: https://logback.qos.ch/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
# Remove deprecated methods
|
||||
Patch0: %{name}-1.1.11-jetty.patch
|
||||
Patch0: %{name}-1.2.8-jetty.patch
|
||||
Patch1: logback-1.2.3-getCallerClass.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: maven-local
|
||||
@ -112,6 +112,21 @@ rm -r %{name}-*/src/test/java/*
|
||||
|
||||
%pom_xpath_remove "pom:project/pom:profiles/pom:profile[pom:id = 'javadocjar']"
|
||||
|
||||
%if %{?pkg_vcmp:%pkg_vcmp gmavenplus-plugin < 1.6}%{!?pkg_vcmp:0}
|
||||
%pom_remove_plugin "org.codehaus.gmavenplus:gmavenplus-plugin" logback-classic
|
||||
%pom_add_plugin "org.codehaus.gmavenplus:gmavenplus-plugin:1.5" logback-classic "
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>generateStubs</goal>
|
||||
<goal>compile</goal>
|
||||
<goal>testGenerateStubs</goal>
|
||||
<goal>testCompile</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>"
|
||||
%endif
|
||||
|
||||
# disable for now
|
||||
%pom_disable_module logback-site
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user