diff --git a/jmdns.changes b/jmdns.changes index 696fe45..d77e0d2 100644 --- a/jmdns.changes +++ b/jmdns.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 12 07:42:29 UTC 2025 - Fridrich Strba + +- Fix build with maven-jar-plugin 3.5.0 + ------------------------------------------------------------------- Tue Sep 19 11:03:18 UTC 2023 - Fridrich Strba diff --git a/jmdns.spec b/jmdns.spec index d37e827..c67afa2 100644 --- a/jmdns.spec +++ b/jmdns.spec @@ -1,7 +1,7 @@ # # spec file for package jmdns # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -47,6 +47,9 @@ Summary: API documentation for %{name} chmod -x README.md %pom_remove_plugin :maven-javadoc-plugin +%pom_remove_plugin :maven-source-plugin + +%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-jar-plugin"]/pom:executions' %{mvn_alias} :jmdns javax.jmdns: @@ -56,7 +59,6 @@ chmod -x README.md %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -Dmaven.compiler.release=8 \ %endif - -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ -Dsource=8 %install