Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package minlog for openSUSE:Factory checked in at 2023-01-17 17:35:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/minlog (Old) and /work/SRC/openSUSE:Factory/.minlog.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "minlog" Tue Jan 17 17:35:53 2023 rev:2 rq:1058905 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/minlog/minlog.changes 2019-11-13 13:28:21.779699813 +0100 +++ /work/SRC/openSUSE:Factory/.minlog.new.32243/minlog.changes 2023-01-17 17:36:01.117423651 +0100 @@ -1,0 +2,8 @@ +Fri Dec 23 19:50:01 UTC 2022 - Dirk Müller <[email protected]> + +- update to 1.3.1: + * Use currentTimeMillis. + * Use 3-Clause BSD + * Use Java 7 JDK. + +------------------------------------------------------------------- Old: ---- minlog-1.3.0.tar.gz New: ---- minlog-1.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ minlog.spec ++++++ --- /var/tmp/diff_new_pack.KE6swZ/_old 2023-01-17 17:36:01.717427034 +0100 +++ /var/tmp/diff_new_pack.KE6swZ/_new 2023-01-17 17:36:01.721427057 +0100 @@ -1,7 +1,7 @@ # # spec file for package minlog # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: minlog -Version: 1.3.0 +Version: 1.3.1 Release: 0 Summary: Minimal overhead Java logging License: BSD-3-Clause @@ -71,7 +71,7 @@ %{mvn_build} %install -%mvn_install +%{mvn_install} %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles ++++++ minlog-1.3.0.tar.gz -> minlog-1.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minlog-minlog-1.3.0/.classpath new/minlog-minlog-1.3.1/.classpath --- old/minlog-minlog-1.3.0/.classpath 2014-07-21 01:53:23.000000000 +0200 +++ new/minlog-minlog-1.3.1/.classpath 2018-12-28 23:31:57.000000000 +0100 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry excluding="**/.svn/*" kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> <classpathentry kind="output" path="bin"/> </classpath> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minlog-minlog-1.3.0/.settings/org.eclipse.jdt.core.prefs new/minlog-minlog-1.3.1/.settings/org.eclipse.jdt.core.prefs --- old/minlog-minlog-1.3.0/.settings/org.eclipse.jdt.core.prefs 1970-01-01 01:00:00.000000000 +0100 +++ new/minlog-minlog-1.3.1/.settings/org.eclipse.jdt.core.prefs 2018-12-28 23:31:57.000000000 +0100 @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minlog-minlog-1.3.0/CONTRIBUTING.md new/minlog-minlog-1.3.1/CONTRIBUTING.md --- old/minlog-minlog-1.3.0/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 +++ new/minlog-minlog-1.3.1/CONTRIBUTING.md 2018-12-28 23:31:57.000000000 +0100 @@ -0,0 +1,7 @@ +Project license(s): 3-Clause BSD License + +* You will only Submit Contributions where You have authored 100% of the content. + +* You will only Submit Contributions to which You have the necessary rights. This means that if You are employed You have received the necessary permissions from Your employer to make the Contributions. + +* Whatever content You Contribute will be provided under the Project License(s). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minlog-minlog-1.3.0/pom.xml new/minlog-minlog-1.3.1/pom.xml --- old/minlog-minlog-1.3.0/pom.xml 2014-07-21 01:53:23.000000000 +0200 +++ new/minlog-minlog-1.3.1/pom.xml 2018-12-28 23:31:57.000000000 +0100 @@ -9,7 +9,7 @@ <groupId>com.esotericsoftware</groupId> <artifactId>minlog</artifactId> - <version>1.3.0</version> + <version>1.3.1</version> <packaging>bundle</packaging> <name>MinLog</name> @@ -18,8 +18,8 @@ <licenses> <license> - <name>New BSD License</name> - <url>http://www.opensource.org/licenses/bsd-license.php</url> + <name>3-Clause BSD License</name> + <url>https://opensource.org/licenses/BSD-3-Clause</url> <distribution>repo</distribution> </license> </licenses> @@ -34,9 +34,9 @@ <scm> <url>https://github.com/EsotericSoftware/minlog</url> - <connection>scm:git:https://github.com/EsotericSoftware/minlog.git</connection> - <developerConnection>scm:git:https://github.com/EsotericSoftware/minlog.git</developerConnection> - <tag>minlog-1.3.0</tag> + <connection>scm:git:[email protected]:EsotericSoftware/minlog.git</connection> + <developerConnection>scm:git:[email protected]:EsotericSoftware/minlog.git</developerConnection> + <tag>HEAD</tag> </scm> <build> @@ -71,6 +71,10 @@ </goals> </execution> </executions> + <configuration> + <!-- required for java8, so that javadoc errors don't fail the build --> + <additionalparam>-Xdoclint:none</additionalparam> + </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> @@ -90,6 +94,9 @@ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> + <manifestEntries> + <Automatic-Module-Name>com.esotericsoftware.minlog</Automatic-Module-Name> + </manifestEntries> </archive> </configuration> </plugin> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minlog-minlog-1.3.0/src/com/esotericsoftware/minlog/Log.java new/minlog-minlog-1.3.1/src/com/esotericsoftware/minlog/Log.java --- old/minlog-minlog-1.3.0/src/com/esotericsoftware/minlog/Log.java 2014-07-21 01:53:23.000000000 +0200 +++ new/minlog-minlog-1.3.1/src/com/esotericsoftware/minlog/Log.java 2018-12-28 23:31:57.000000000 +0100 @@ -3,12 +3,9 @@ import java.io.PrintWriter; import java.io.StringWriter; -import java.util.Date; -/** - * A low overhead, lightweight logging system. - * @author Nathan Sweet <[email protected]> - */ +/** A low overhead, lightweight logging system. + * @author Nathan Sweet <[email protected]> */ public class Log { /** No logging at all. */ static public final int LEVEL_NONE = 6; @@ -23,10 +20,8 @@ /** Trace messages. A lot of information is logged, so this level is usually only needed when debugging a problem. */ static public final int LEVEL_TRACE = 1; - /** - * The level of messages that will be logged. Compiling this and the booleans below as "final" will cause the compiler to - * remove all "if (Log.info) ..." type statements below the set level. - */ + /** The level of messages that will be logged. Compiling this and the booleans below as "final" will cause the compiler to + * remove all "if (Log.info) ..." type statements below the set level. */ static private int level = LEVEL_INFO; /** True when the ERROR level will be logged. */ @@ -40,9 +35,7 @@ /** True when the TRACE level will be logged. */ static public boolean TRACE = level <= LEVEL_TRACE; - /** - * Sets the level to log. If a version of this class is being used that has a final log level, this has no affect. - */ + /** Sets the level to log. If a version of this class is being used that has a final log level, this has no affect. */ static public void set (int level) { // Comment out method contents when compiling fixed level JARs. Log.level = level; @@ -77,9 +70,7 @@ set(LEVEL_TRACE); } - /** - * Sets the logger that will write the log messages. - */ + /** Sets the logger that will write the log messages. */ static public void setLogger (Logger logger) { Log.logger = logger; } @@ -169,17 +160,15 @@ private Log () { } - /** - * Performs the actual logging. Default implementation logs to System.out. Extended and use {@link Log#logger} set to handle - * logging differently. - */ + /** Performs the actual logging. Default implementation logs to System.out. Extended and use {@link Log#logger} set to handle + * logging differently. */ static public class Logger { - private long firstLogTime = new Date().getTime(); + private final long firstLogTime = System.currentTimeMillis(); public void log (int level, String category, String message, Throwable ex) { StringBuilder builder = new StringBuilder(256); - long time = new Date().getTime() - firstLogTime; + long time = System.currentTimeMillis() - firstLogTime; long minutes = time / (1000 * 60); long seconds = time / (1000) % 60; if (minutes <= 9) builder.append('0'); @@ -224,9 +213,7 @@ print(builder.toString()); } - /** - * Prints the message to System.out. Called by the default implementation of {@link #log(int, String, String, Throwable)}. - */ + /** Prints the message to System.out. Called by the default implementation of {@link #log(int, String, String, Throwable)}. */ protected void print (String message) { System.out.println(message); }
