Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package uom-lib for openSUSE:Factory checked 
in at 2024-04-30 17:27:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uom-lib (Old)
 and      /work/SRC/openSUSE:Factory/.uom-lib.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uom-lib"

Tue Apr 30 17:27:30 2024 rev:4 rq:1170858 version:1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/uom-lib/uom-lib.changes  2023-09-20 
13:32:46.106338240 +0200
+++ /work/SRC/openSUSE:Factory/.uom-lib.new.1880/uom-lib.changes        
2024-04-30 17:28:42.097098717 +0200
@@ -1,0 +2,5 @@
+Mon Apr 29 11:39:19 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- The binaries are compatible with java 1.8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ uom-lib.spec ++++++
--- /var/tmp/diff_new_pack.pp6xvW/_old  2024-04-30 17:28:42.581116319 +0200
+++ /var/tmp/diff_new_pack.pp6xvW/_new  2024-04-30 17:28:42.585116464 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package uom-lib
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,9 @@
 #
 
 
+# The automatic requires would be java-headless >= 9, but the
+# binaries are java 8 compatible
+%define __requires_exclude java-headless
 Name:           uom-lib
 Version:        1.2
 Release:        0
@@ -34,12 +37,7 @@
 BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
 BuildRequires:  mvn(org.assertj:assertj-core)
 BuildRequires:  mvn(tech.uom:uom-parent:pom:)
-#!BuildIgnore:  java-1_7_0-openjdk
-#!BuildIgnore:  java-1_7_0-openjdk-devel
-#!BuildIgnore:  java-1_7_0-openjdk-headless
-#!BuildIgnore:  java-1_8_0-openjdk
-#!BuildIgnore:  java-1_8_0-openjdk-devel
-#!BuildIgnore:  java-1_8_0-openjdk-headless
+Requires:       java-headless >= 1.8
 BuildArch:      noarch
 
 %description
@@ -48,6 +46,7 @@
 %package assertj
 Summary:        Java Units of Measurement AssertJ Library
 Group:          Development/Libraries/Java
+Requires:       java-headless >= 1.8
 
 %description assertj
 Units of Measurement AssertJ Library - extending and complementing JSR 363.
@@ -55,6 +54,7 @@
 %package common
 Summary:        Java Units of Measurement Common Library
 Group:          Development/Libraries/Java
+Requires:       java-headless >= 1.8
 
 %description common
 Units of Measurement Common Library - extending and complementing JSR 363.
@@ -62,6 +62,7 @@
 %package jackson
 Summary:        Java Units of Measurement Jackson Library
 Group:          Development/Libraries/Java
+Requires:       java-headless >= 1.8
 
 %description jackson
 Units of Measurement Jackson Library - extending and complementing JSR 363.
@@ -83,9 +84,7 @@
 
 %build
 %{mvn_build} -f -s -- \
-%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)
 
 %install

Reply via email to