Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jnr-posix for openSUSE:Factory checked in at 2025-07-06 17:13:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jnr-posix (Old) and /work/SRC/openSUSE:Factory/.jnr-posix.new.1903 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jnr-posix" Sun Jul 6 17:13:48 2025 rev:6 rq:1290553 version:3.1.16 Changes: -------- --- /work/SRC/openSUSE:Factory/jnr-posix/jnr-posix.changes 2023-09-10 13:11:53.174104226 +0200 +++ /work/SRC/openSUSE:Factory/.jnr-posix.new.1903/jnr-posix.changes 2025-07-06 17:17:47.035466425 +0200 @@ -1,0 +2,8 @@ +Thu Jul 3 23:25:08 UTC 2025 - Fridrich Strba <fst...@suse.com> + +- Added patch: + * sun-misc.patch + + build with source/target 8 instead of release 8 to be able + to use the sun.misc package + +------------------------------------------------------------------- New: ---- sun-misc.patch ----------(New B)---------- New:- Added patch: * sun-misc.patch + build with source/target 8 instead of release 8 to be able ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jnr-posix.spec ++++++ --- /var/tmp/diff_new_pack.p70QcC/_old 2025-07-06 17:17:47.651491897 +0200 +++ /var/tmp/diff_new_pack.p70QcC/_new 2025-07-06 17:17:47.655492063 +0200 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package jnr-posix # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Group: Development/Libraries/Java URL: https://github.com/%{cluster}/%{name} Source0: %{url}/archive/%{name}-%{version}.tar.gz +Patch0: sun-misc.patch BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(com.github.jnr:jnr-constants) @@ -47,6 +48,7 @@ %prep %setup -q -n %{name}-%{name}-%{version} +%patch -P 0 -p1 %{mvn_file} : %{cluster}/%{name} # Remove useless wagon extension. @@ -58,9 +60,7 @@ %pom_xpath_set pom:configuration/pom:instructions/pom:Import-Package "!sun.misc,!sun.nio.ch,*" %build -%{mvn_build} -f -- \ - -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ - -Dsource=8 +%{mvn_build} -f -- -Dsource=8 %install %mvn_install ++++++ sun-misc.patch ++++++ diff -urEbwB jnr-posix-jnr-posix-3.1.16.orig/pom.xml jnr-posix-jnr-posix-3.1.16/pom.xml --- jnr-posix-jnr-posix-3.1.16.orig/pom.xml 2025-07-04 01:14:29.228326748 +0200 +++ jnr-posix-jnr-posix-3.1.16/pom.xml 2025-07-04 01:23:14.708406346 +0200 @@ -219,21 +219,9 @@ <phase>compile</phase> <goals><goal>compile</goal></goals> <configuration> - <includes> - <include>jnr/posix/util/SunMiscSignal.java</include> - </includes> - </configuration> - </execution> - <execution> - <id>java9-compile</id> - <phase>compile</phase> - <goals><goal>compile</goal></goals> - <configuration> - <!-- Use -release compiler option rather than source/target if 9+ --> - <release>${maven.compiler.target}</release> - <excludes> - <exclude>jnr/posix/util/SunMiscSignal.java</exclude> - </excludes> + <source>${maven.compiler.source}</source> + <target>${maven.compiler.target}</target> + <release combine.self="override"/> </configuration> </execution> </executions>