1 Commits

Author SHA256 Message Date
Fridrich Štrba
572a643f7d Fix build with maven-jar-plugin 3.5.0 2025-11-12 09:47:17 +01:00
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 12 07:42:29 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Fix build with maven-jar-plugin 3.5.0
-------------------------------------------------------------------
Tue Sep 19 11:03:18 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@@ -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