Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package log4j for openSUSE:Factory checked 
in at 2026-06-17 16:18:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/log4j (Old)
 and      /work/SRC/openSUSE:Factory/.log4j.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "log4j"

Wed Jun 17 16:18:33 2026 rev:47 rq:1359802 version:2.26.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/log4j/log4j.changes      2026-04-14 
17:51:35.831668755 +0200
+++ /work/SRC/openSUSE:Factory/.log4j.new.1981/log4j.changes    2026-06-17 
16:19:23.029735862 +0200
@@ -1,0 +2,713 @@
+Tue Jun 16 14:43:20 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to 2.26.0
+  * Added
+    + Add a new ConfigurationFactory::getConfiguration method
+      accepting multiple URIs
+    + Add and export org.apache.logging.log4j.core.pattern
+      .NamedInstantPattern enabling users to programmatically access
+      named date & time patterns supported by Pattern Layout
+    + Add log4j.plugin.processor.minAllowedMessageKind annotation
+      processor option to PluginProcessor to filter diagnostic
+      messages by severity. This allows builds that treat compiler
+      notes as errors (e.g. Maven with -Werror) to suppress
+      informational notes emitted during normal plugin processing
+    + Add missing setters to Rfc5424LayoutBuilder
+  * Changed
+    + Ensure scripts in the global Scripts element have explicit
+      names by throwing a ConfigurationException for unnamed ones
+    + Simplify file manager registry factory methods
+  * Deprecated
+    + Deprecated withers in builder classes in favor of setters.
+      This change improves API consistency with Log4j Core 3 and
+      helps users adapt to the upcoming changes
+  * Fixed
+    + Fix script resolution failure when the Scripts element is
+      placed after a ScriptRef in the configuration
+    + Fix ArrayIndexOutOfBoundsException thrown by
+      ThrowableStackTraceRenderer when the stack trace is modified
+      concurrently
+    + Fix SLF4JLogger.atFatal() returning atLevel(Level.TRACE)
+      instead of atLevel(Level.FATAL). This was causing FATAL-level
+      log events to be silently discarded when using the fluent API
+      through the log4j-to-slf4j bridge
+    + Fix Javadoc references across module boundaries (i.e.,
+      cross-references)
+    + Fix header write in RollingRandomAccessFileManager that was
+      being incorrectly skipped if append=true and the file didn't
+      exist before
+    + Fix a properties file configuration regression caused by not
+      referenced loggers, appenders, and filters
+  * Removed
+    + Remove the jvmrunargs lookup.
+  * Updated
+    + Update org.junit:junit-bom to version 5.13.4
+    + Update org.mongodb:bson to version 5.6.1
+    + Update org.xerial.snappy:snappy-java to version 1.1.10.8
+
+-------------------------------------------------------------------
+Tue Jun 16 14:27:55 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to 2.25.4
+  * Fixed
+    + Don't issue warnings if extra argument in parameterized
+      logging is null
+    + Restore support for documented Rfc5424Layout parameter names
+    + Take Throwable#toString() into account while rendering stack
+      traces in Pattern Layout
+    + Added debug level logs for successful resource loading in
+      Loader class
+    + Align SslConfiguration factory method usage with Log4j 2.12+
+      API. The verifyHostname attribute is now correctly recognized
+      (bsc#1262050, CVE-2026-34477)
+    + Fix sanitization of structured data parameter names in RFC5424
+      layout
+    + Replace invalid characters in XmlLayout output with the
+      Unicode replacement character (U+FFFD)
+      (bsc#1262092, CVE-2026-34480)
+    + Replace invalid characters in Log4j1XmlLayout output with the
+      Unicode replacement character (U+FFFD)
+      (bsc#1262091, log4j-CVE-2026-34479)
+    + Replace invalid characters in MapMessage.asXml() output with
+      the Unicode replacement character (U+FFFD)
+    + Write non-finite floating-point numbers as strings in
+      JsonWriter (bsc#1262093, CVE-2026-34481)
+- Removed patches:
+  * 0002-Remove-usage-of-toolchains.patch
+  * log4j-CVE-2026-34477.patch
+  * log4j-CVE-2026-34479.patch
+  * log4j-CVE-2026-34480.patch
+  * log4j-CVE-2026-34481.patch
+  * log4j-jackson-databind.patch
+  * logging-log4j-Remove-unsupported-EventDataConverter.patch
+    + not needed with this version
+
+-------------------------------------------------------------------
+Tue Jun 16 14:24:06 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to 2.25.3
+  * Changed
+    + Optimize DefaultThreadContextMap.getCopy() performance by
+      avoiding megamorphic calls in HashMap constructor
+  * Fixed
+    + Fix GraalVM metadata for nested classes to use binary names
+      instead of canonical names
+    + Fix failures caused by null SslConfiguration
+    + Fix incorrect handling of the host name verification in
+      SSL/TLS configuration, which is used by Socket Appender when
+      SSL/TLS is enabled (bsc#1255427, CVE-2025-68161)
+  * Removed
+    + Remove the com.github.spotbugs:spotbugs-annotations dependency
+- Removed patch:
+  * log4j-CVE-2025-68161.patch
+    + not needed with this version
+
+-------------------------------------------------------------------
+Tue Jun 16 14:19:45 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to 2.25.2
+  * Fixed
+    + Fix potential memory leak involving LogBuilder in Log4j API to
+      Logback bridge
+    + Prevent unnecessary warnings in
+      AbstractDriverManagerConnectionSource
+    + Fix missing newlines in default logging configuration for
+      log4j-core
+    + Fix missing default Target value in Console Appender
+    + Discard the sub-second part while obtaining the initial time
+      (i.e., creation time) of a file in RollingFileManager
+    + Fix Pattern Layout exception stack trace converters to no
+      longer prepend newlines based on context
+    + Fix the com.google.errorprone:error_prone_annotations
+      dependency whose version property gets erased due to
+      flattening
+    + Fix detection of Throwable converters inside nested Pattern
+      Layout patterns when applying alwaysWriteExceptions
+    + Fix parsing and merging of literals in
+      InstantPatternDynamicFormatter
+
+-------------------------------------------------------------------
+Tue Jun 16 14:15:46 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to 2.25.1
+  * Fixed
+    + Fix detection of the Disruptor major version in environments
+      with non-standard thread context classloader
+    + Downgrade spotbugs-annotations to resolve Gradle build
+      failures
+    + Fix incorrect version resolution of jspecify and
+      error_prone_annotations dependencies in published POM files
+    + Restore compatibility with Spring Boot by allowing
+      reconfiguration using the LoggerContext.start method
+    + Allow omission of the -Alog4j.graalvm.groupId and
+      -Alog4j.graalvm.artifactId arguments when building Log4j
+      plugins
+    + Broaden the OSGi manifest's Import-Package constraints to
+      support Jakarta Servlet API up to version 6.
+    + Enable the resource: protocol for configuration files by
+      default when running on GraalVM.
+    + Fix timestamp formatting concurrency issue, when
+      log4j2.enabledThreadlocals is true
+    + Fix GraalVM reachability metadata generation for methods with
+      annotated array type parameters, such as @Nullable String[]
+    + Resolve PropertiesConfiguration compatibility issues with
+      GraalVM and address additional minor reflection-related
+      problems
+    + Fixes NullPointerException thrown by
+      ThrowableStackTraceRenderer when suppressed exceptions are
+      mutated concurrently
+
+-------------------------------------------------------------------
+Tue Jun 16 13:56:10 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to 2.25.0
+  * Added
+    + Add Google OSS-Fuzz integration
+    + Add a GraalVmProcessor annotation processor to generate
+      GraalVM reachability metadata.
+    + Add MonitorResource configuration option to support the
+      monitoring of external files in addition to the configuration
+      file itself.
+    + Fixed typo in "LoggerConfig.RootLogger
+      .Builder#withtFilter(...​)" method. Created new corrected
+      'withFilter()' method and deprecated old method.
+    + Add collectionName and databaseName arguments to the MongoDB
+      appender
+  * Changed
+    + Remove JAnsi library support. Windows 10 console has supported
+      ANSI escapes since 2017
+    + Consolidate exception rendering logic and improve circular
+      reference support in Pattern Layout
+    + Rewrite JAnsiTextRenderer to work without JAnsi library
+    + Switch prefixing stack traces in Pattern Layout from
+      whitespace to newline
+    + Changes the layout used by the default configuration.
+    + Switch to using Java's DateTimeFormatter for date & time
+      formatting of log event instants
+    + Switch the default exception converter from the extended
+      exception converter to the plain exception converter
+    + Don't close StringReaders because of batching.
+    + Switch prefixing stack traces in Status Logger from whitespace
+      to newline
+    + The MongoDb Appender shouldn't log a deprecation warning,
+    + Add improved validation to StringMatchFilter for null/empty
+      text
+    + Currently Java 8 users do not have access to timestamps with
+      sub-millisecond precision. This change moves the SystemClock
+      implementation from log4j-core-java9 to log4j-core, overriding
+      the current one, so that java 8 users can benefit from it.
+    + Don't overwrite configured configuration name if the
+      configuration has no loggers / no root logger.
+    + Update GcpLayout.json JSON Template Layout event template to
+      support automatic timestamp recognition by the Google Cloud
+      Logging. This also changes exception, thread, logger fields,
+      and removes insertId field.
+    + Have org.apache.logging.log4j.util.Base64Util invoke
+      java.util.Base64 directly instead of reflectively.
+    + Improve implementations of LogEvent.toImmutable() and
+      ReusableMessage.memento() and remove usage of ThrowableProxy
+  * Deprecated
+    + Deprecate ThrowableProxy and all its usages
+    + Deprecate AbstractLogger.checkMessageFactory(), since all
+      created Loggers are already MessageFactory-namespaced
+    + Deprecated FixedDateTime, FastDateTime, and supporting classes
+    + Use hard references to Loggers in LoggerRegistry
+  * Fixed
+    + Switch MongoDB tests to use Docker.
+    + Add a Jakarta-based JMS Appender module log4j-jakarta-jms and
+      deprecate the Javax version
+    + Fix RollingFileManager to reopen the log file when the
+      rollover was unsuccessful
+    + Fix certain exception rendering issues in Pattern Layout
+    + Reload key & trust stores while reconfiguring network
+      appenders containing a TLS (formerly known as SSL)
+      configuration
+    + Simplify the SSLContext instantiation for the TLS (formerly
+      known as SSL) configuration
+    + Adding a compilation warning for Plugin Builder Attributes
+      that do not have a public setter.
+    + Fix reloading of the configuration from an HTTP(S) source
+    + Fix putAll() in the default thread context map implementation
+    + Improves validation of HTTP Appender.
+    + Fix getLogger() source incompatibility in Log4j 1 to Log4j 2
+      API Bridge (i.e., log4j-1.2-api)
+    + Fix property extraction from the root exception in Pattern
+      Layout
+    + Fix key removal issues in Thread Context
+    + Fix Android-related issues in Log4j Core.
+    + Fix the leak of non-Log4j dependencies in log4j-bom
+    + Fix the conversion of o.a.l.Priority classes to Log4j 2 levels
+    + Ensures synchronization between j.u.l.Logger.getLevel() and
+      j.u.l.Logger.setLevel() methods.
+    + Add improved validation to AsyncWaitStrategyFactoryConfig for
+      null/empty factoryClassName.
+    + Fix NullPointerException when using rootLogger = LEVEL
+      shorthand in properties without appender.
+    + Fix ArrayIndexOutOfBoundsException in JSON Template Layout
+      truncated exception resolver
+    + Properly handle null 'replacement' parameter in
+      RegexReplacement#createRegexReplacement.
+    + Fix detection of location requirements in AsyncAppender.
+    + Fix detection of location requirements in FailoverAppender.
+    + Corrected @return javadoc for AbstractFilterable#isFiltered()
+    + TypeConverters convert for "Level" incorrectly documented
+      behaviour for invalid value - updated javadoc.
+    + Fix loading of the effective RecyclerFactoryConverter in JSON
+      Template Layout
+    + Minimize lock usage in InternalLoggerRegistry.
+    + Improved expunging of stale entries in InternalLoggerRegistry
+      to prevent potential memory leaks
+    + Make annotation libraries visible transitively at compile time
+      for Gradle users through Gradle Module Metadata and for JPMS
+      users through requires static directives in module-info.java
+      files
+    + Fix shutdownDisable configuration does not take effect
+    + Fix ArrayIndexOutOfBoundsException on
+      StatusData#getFormattedStatus.
+    + Deprecate or remove static hiding methods.
+    + Verify the capability of SecurityManager so that platforms not
+      (fully) supporting it will not poison the stack trace
+    + Improve performance and avoid memory consumption if logging
+      primitive arrays as parameters
+    + Fix ArrayIndexOutOfBoundsException on invocation of Message
+      .getFormattedMessage() when any thread has no stack trace,
+      which occurs on some JVM implementations
+    + StatusLogger now writes to standard error by default. This
+      fixes a regression introduced in 2.23.0
+    + The ReadOnlyStringMap implementations now support equality
+      comparisons against each other
+    + Fixes OSGi descriptor to accept Disruptor 4
+    + Avoid surrogate character handling in JsonWriter
+  * Removed
+    + Remove support for the {ansi} option in Pattern Layout
+      exception converters
+  * Updated
+    + Update actions/stale to version 9.1.0
+    + Update ch.qos.logback:logback-core to version 1.3.15
+    + Update com.fasterxml.jackson:jackson-bom to version 2.19.0
+    + Update com.github.spotbugs:spotbugs-annotations to version
+      4.9.3
+    + Update io.fabric8:docker-maven-plugin to version 0.46.0
+    + Update org.apache.cassandra:cassandra-all to version 3.11.19
+    + Update org.apache.commons:commons-csv to version 1.14.0
+    + Update org.apache.commons:commons-dbcp2 to version 2.13.0
+    + Update org.apache.commons:commons-pool2 to version 2.12.1
+    + Update org.apache.kafka:kafka-clients to version 3.9.1
+    + Update org.apache.logging:logging-parent to version 12.1.1
+    + Update org.apache.tomcat:tomcat-juli to version 10.1.30
++++ 433 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/log4j/log4j.changes
++++ and /work/SRC/openSUSE:Factory/.log4j.new.1981/log4j.changes

Old:
----
  0002-Remove-usage-of-toolchains.patch
  apache-log4j-2.20.0-src.tar.gz
  apache-log4j-2.20.0-src.tar.gz.asc
  log4j-CVE-2025-68161.patch
  log4j-CVE-2026-34477.patch
  log4j-CVE-2026-34479.patch
  log4j-CVE-2026-34480.patch
  log4j-CVE-2026-34481.patch
  log4j-jackson-databind.patch
  logging-log4j-Remove-unsupported-EventDataConverter.patch

New:
----
  apache-log4j-2.26.0-src.zip
  apache-log4j-2.26.0-src.zip.asc

----------(Old B)----------
  Old:- Removed patches:
  * 0002-Remove-usage-of-toolchains.patch
  * log4j-CVE-2026-34477.patch
  Old:- Removed patch:
  * log4j-CVE-2025-68161.patch
    + not needed with this version
  Old:  * 0002-Remove-usage-of-toolchains.patch
  * log4j-CVE-2026-34477.patch
  * log4j-CVE-2026-34479.patch
  Old:  * log4j-CVE-2026-34477.patch
  * log4j-CVE-2026-34479.patch
  * log4j-CVE-2026-34480.patch
  Old:  * log4j-CVE-2026-34479.patch
  * log4j-CVE-2026-34480.patch
  * log4j-CVE-2026-34481.patch
  Old:  * log4j-CVE-2026-34480.patch
  * log4j-CVE-2026-34481.patch
  * log4j-jackson-databind.patch
  Old:  * log4j-CVE-2026-34481.patch
  * log4j-jackson-databind.patch
  * logging-log4j-Remove-unsupported-EventDataConverter.patch
  Old:  * log4j-jackson-databind.patch
  * logging-log4j-Remove-unsupported-EventDataConverter.patch
    + not needed with this version
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ log4j.spec ++++++
--- /var/tmp/diff_new_pack.jz3z1m/_old  2026-06-17 16:19:23.909772684 +0200
+++ /var/tmp/diff_new_pack.jz3z1m/_new  2026-06-17 16:19:23.913772851 +0200
@@ -21,52 +21,37 @@
 %define __requires_exclude java-headless
 %bcond_without extra_modules
 Name:           log4j
-Version:        2.20.0
+Version:        2.26.0
 Release:        0
 Summary:        Java logging package
 License:        Apache-2.0
 URL:            http://logging.apache.org/%{name}
-Source0:        
http://archive.apache.org/dist/logging/%{name}/%{version}/apache-%{name}-%{version}-src.tar.gz
-Source1:        
http://archive.apache.org/dist/logging/%{name}/%{version}/apache-%{name}-%{version}-src.tar.gz.asc
+Source0:        
https://archive.apache.org/dist/logging/%{name}/%{version}/apache-%{name}-%{version}-src.zip
+Source1:        
https://archive.apache.org/dist/logging/%{name}/%{version}/apache-%{name}-%{version}-src.zip.asc
 Source2:        https://www.apache.org/dist/logging/KEYS#/%{name}.keyring
-Patch0:         logging-log4j-Remove-unsupported-EventDataConverter.patch
-Patch1:         0002-Remove-usage-of-toolchains.patch
-Patch2:         log4j-jackson-databind.patch
-Patch3:         log4j-CVE-2025-68161.patch
-Patch4:         log4j-CVE-2026-34477.patch
-Patch5:         log4j-CVE-2026-34479.patch
-Patch6:         log4j-CVE-2026-34480.patch
-Patch7:         log4j-CVE-2026-34481.patch
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 9
 BuildRequires:  maven-local
+BuildRequires:  unzip
+BuildRequires:  mvn(biz.aQute.bnd:biz.aQute.bnd.annotation)
 BuildRequires:  mvn(com.fasterxml.jackson.core:jackson-annotations)
-BuildRequires:  mvn(com.fasterxml.jackson.core:jackson-core)
-BuildRequires:  mvn(com.fasterxml.jackson.core:jackson-databind)
+BuildRequires:  mvn(com.fasterxml.jackson.dataformat:jackson-dataformat-xml)
 BuildRequires:  mvn(com.lmax:disruptor)
-BuildRequires:  mvn(commons-logging:commons-logging)
 BuildRequires:  mvn(jakarta.activation:jakarta.activation-api)
+BuildRequires:  mvn(jakarta.jms:jakarta.jms-api)
 BuildRequires:  mvn(jakarta.mail:jakarta.mail-api)
 BuildRequires:  mvn(jakarta.servlet:jakarta.servlet-api)
-BuildRequires:  mvn(javax.inject:javax.inject)
-BuildRequires:  mvn(org.apache.commons:commons-compress)
-BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
 BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
 BuildRequires:  mvn(org.apache.maven.plugins:maven-dependency-plugin)
 BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
-BuildRequires:  mvn(org.codehaus.woodstox:stax2-api)
-BuildRequires:  mvn(org.fusesource.jansi:jansi)
 BuildRequires:  mvn(org.jctools:jctools-core)
-BuildRequires:  mvn(org.osgi:osgi.core)
-BuildRequires:  mvn(org.slf4j:slf4j-api)
-BuildRequires:  mvn(org.slf4j:slf4j-ext)
+BuildRequires:  mvn(org.jspecify:jspecify)
+BuildRequires:  mvn(org.osgi:osgi.annotation)
 Requires:       java-headless >= 1.8
 Obsoletes:      log4j-mini
 BuildArch:      noarch
 %if %{with extra_modules}
-BuildRequires:  mvn(com.fasterxml.jackson.dataformat:jackson-dataformat-xml)
 BuildRequires:  mvn(com.fasterxml.jackson.dataformat:jackson-dataformat-yaml)
-BuildRequires:  mvn(com.fasterxml.woodstox:woodstox-core)
 BuildRequires:  mvn(javax.servlet.jsp:javax.servlet.jsp-api)
 BuildRequires:  mvn(javax.servlet:javax.servlet-api)
 BuildRequires:  mvn(org.apache.commons:commons-csv)
@@ -139,40 +124,34 @@
 %{summary}.
 
 %prep
-%setup -q -n apache-%{name}-%{version}-src
-%autopatch -p1
+%setup -q -c -n apache-%{name}-%{version}-src
+
+find . -name .log4j-plugin-processing-activator -print -delete
+find . -name package-info.java -print -delete
 
 %pom_remove_plugin -r :apache-rat-plugin
-%pom_remove_plugin -r :maven-site-plugin
 %pom_remove_plugin -r :maven-source-plugin
-%pom_remove_plugin -r :maven-toolchains-plugin
 %pom_remove_plugin -r :maven-enforcer-plugin
+%pom_remove_plugin -r :maven-javadoc-plugin
 %pom_remove_plugin -r com.diffplug.spotless:spotless-maven-plugin
-%pom_remove_plugin -r org.apache.logging.log4j:log4j-changelog-maven-plugin
-%pom_remove_plugin -r org.codehaus.mojo:xml-maven-plugin
 %pom_remove_plugin -r org.ops4j.pax.exam:exam-maven-plugin
+%pom_remove_plugin -r org.gradlex:gradle-module-metadata-maven-plugin
+%pom_remove_plugin -r org.apache.maven.plugins:maven-clean-plugin
+%pom_remove_plugin -r org.apache.logging.log4j:log4j-docgen-maven-plugin
 
 # remove all the stuff we'll build ourselves
 find -name "*.jar" -o -name "*.class" -delete
 rm -rf docs/api
 
-%pom_disable_module %{name}-distribution
-%pom_disable_module %{name}-samples
-
-# Apache Flume is not in openSUSE yet
-%pom_disable_module %{name}-flume-ng
-
 # artifact for upstream testing of log4j itself, shouldn't be distributed
-%pom_disable_module %{name}-perf
+%pom_disable_module %{name}-perf-test
 
-%pom_remove_dep -r org.codehaus.groovy:groovy-bom
+%pom_remove_dep -r org.apache.groovy:groovy-bom
 %pom_remove_dep -r com.fasterxml.jackson:jackson-bom
 %pom_remove_dep -r jakarta.platform:jakarta.jakartaee-bom
-%pom_remove_dep -r org.eclipse.jetty:jetty-bom
 %pom_remove_dep -r org.junit:junit-bom
-%pom_remove_dep -r io.fabric8:kubernetes-client-bom
-%pom_remove_dep -r io.netty:netty-bom
 %pom_remove_dep -r org.springframework:spring-framework-bom
+%pom_remove_dep -r org.mockito:mockito-bom
 
 # unavailable com.conversantmedia:disruptor
 rm 
log4j-core/src/main/java/org/apache/logging/log4j/core/async/DisruptorBlockingQueueFactory.java
@@ -186,49 +165,42 @@
 %pom_disable_module %{name}-jdbc-dbcp2
 
 # We do not have mongodb
-%pom_disable_module %{name}-mongodb3
+%pom_disable_module %{name}-mongodb
 %pom_disable_module %{name}-mongodb4
 
-# System scoped dep provided by JDK
-%pom_remove_dep :jconsole %{name}-jmx-gui
-rm 
log4j-jmx-gui/src/main/java/org/apache/logging/log4j/jmx/gui/ClientGuiJConsolePlugin.java
-
 # old AID is provided by felix, we want osgi-core
 %pom_change_dep -r org.osgi:org.osgi.core org.osgi:osgi.core
+%pom_change_dep -r org.osgi:org.osgi.annotation.bundle org.osgi:osgi.annotation
+%pom_remove_dep -r org.osgi:org.osgi.annotation.versioning
+
+%pom_remove_plugin :maven-resources-plugin
 
 # tests are disabled
 %pom_remove_plugin -r :maven-failsafe-plugin
 %pom_remove_plugin -r :maven-surefire-plugin
 
 %pom_remove_parent
-%pom_remove_parent log4j-bom
-
-# Make compiled code compatible with OpenJDK 8
-%pom_xpath_inject 
'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration' 
"<release>8</release>"
 
 %pom_disable_module %{name}-api-test
 %pom_disable_module %{name}-core-test
+%pom_disable_module %{name}-core-fuzz-test
+%pom_disable_module %{name}-fuzz-test
 %pom_disable_module %{name}-layout-template-json-test
-%pom_disable_module %{name}-slf4j2-impl
+%pom_disable_module %{name}-layout-template-json-fuzz-test
+%pom_disable_module %{name}-slf4j2-impl-fuzz-test
 
 %pom_disable_module %{name}-core-its
 %pom_disable_module %{name}-jpa
 %pom_disable_module %{name}-cassandra
 %pom_disable_module %{name}-appserver
 %pom_disable_module %{name}-spring-boot
-%pom_disable_module %{name}-spring-cloud-config
-%pom_disable_module %{name}-kubernetes
+%pom_disable_module %{name}-spring-cloud-config-client
 %if %{without extra_modules}
 %pom_disable_module %{name}-taglib
-%pom_disable_module %{name}-jmx-gui
 %pom_disable_module %{name}-web
 %pom_disable_module %{name}-couchdb
-%endif
 
-%if %{without extra_modules}
 %pom_remove_dep -r :jackson-dataformat-yaml
-%pom_remove_dep -r :jackson-dataformat-xml
-%pom_remove_dep -r :woodstox-core
 %pom_remove_dep -r javax.jms:javax.jms-api
 %pom_remove_dep -r :jeromq
 %pom_remove_dep -r :commons-csv
@@ -255,11 +227,19 @@
 %pom_remove_dep org.eclipse.angus:angus-activation log4j-jakarta-smtp
 %pom_remove_dep org.eclipse.angus:jakarta.mail log4j-jakarta-smtp
 
+%if %{?pkg_vcmp:%pkg_vcmp slf4j >= 2}%{!?pkg_vcmp:0}
+%pom_disable_module %{name}-slf4j-impl
+%{mvn_alias} :%{name}-slf4j2-impl :%{name}-slf4j-impl
+%else
+%pom_disable_module %{name}-slf4j2-impl
+%{mvn_alias} :%{name}-slf4j-impl :%{name}-slf4j2-impl
+%endif
+
 %{mvn_package} ':%{name}-slf4j-impl' slf4j
+%{mvn_package} ':%{name}-slf4j2-impl' slf4j
 %{mvn_package} ':%{name}-to-slf4j' slf4j
 %{mvn_package} ':%{name}-taglib' taglib
 %{mvn_package} ':%{name}-jcl' jcl
-%{mvn_package} ':%{name}-jmx-gui' jmx-gui
 %{mvn_package} ':%{name}-web' web
 %{mvn_package} ':%{name}-bom' bom
 %{mvn_package} ':%{name}-cassandra' nosql
@@ -275,10 +255,6 @@
 %mvn_install
 %fdupes -s %{buildroot}%{_javadocdir}
 
-%if %{with extra_modules}
-%jpackage_script org.apache.logging.log4j.jmx.gui.ClientGUI '' '' 
%{name}/%{name}-jmx-gui:%{name}/%{name}-core %{name}-jmx false
-%endif
-
 %files -f .mfiles
 %dir %{_javadir}/%{name}
 %license LICENSE.txt
@@ -296,9 +272,6 @@
 %files web -f .mfiles-web
 
 %files nosql -f .mfiles-nosql
-
-%files jmx-gui -f .mfiles-jmx-gui
-%{_bindir}/%{name}-jmx
 %endif
 
 %files javadoc -f .mfiles-javadoc

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.jz3z1m/_old  2026-06-17 16:19:23.941774023 +0200
+++ /var/tmp/diff_new_pack.jz3z1m/_new  2026-06-17 16:19:23.945774190 +0200
@@ -1,6 +1,6 @@
-mtime: 1776172016
-commit: 48a06f2217bc3d1a01f9115eec16b6d84822ea45c931b1fd0c36af4e2ca7b510
-url: https://src.opensuse.org/java-packages/log4j.git
-revision: 48a06f2217bc3d1a01f9115eec16b6d84822ea45c931b1fd0c36af4e2ca7b510
+mtime: 1781621999
+commit: 2d54d4bef3b5ac43bfc2979e1c352c5943df8bb1a699de60c4a44c3f8572f515
+url: https://src.opensuse.org/java-packages/log4j
+revision: 2d54d4bef3b5ac43bfc2979e1c352c5943df8bb1a699de60c4a44c3f8572f515
 projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-06-16 16:59:59.000000000 +0200
@@ -0,0 +1 @@
+.osc

Reply via email to