public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/google-gson] epel10: Merge branch 'f40' into rawhide
@ 2026-08-17 12:39 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-17 12:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/google-gson
Branch : epel10
Commit : 41f08d6ed179f65db40fd5f02f0d6a0e7807d126
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2024-05-09T19:30:00+01:00
Stats  : +17/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/google-gson/c/41f08d6ed179f65db40fd5f02f0d6a0e7807d126?branch=epel10

Log:
Merge branch 'f40' into rawhide

---
diff --git a/google-gson.spec b/google-gson.spec
index 062dd1b..99eba95 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -71,8 +71,18 @@ rm extras/src/test/java/com/google/gson/typeadapters/PostConstructAdapterFactory
 #depends on com.google.protobuf:protobuf-java:jar:4.0.0-rc-2 and com.google.truth:truth:jar:1.1.3
 %pom_disable_module proto
 
+for x in `find | grep pom.xml` ; do
+  if cat $x | grep -e "<maven.compiler.release>.*7" ; then
+    sed "s;<maven.compiler.release>.*7.*;<maven.compiler.release>8</maven.compiler.release>;g" -i $x;
+  fi
+  if cat $x | grep -e "<failOnWarning>.*true" ; then
+    sed "s;<failOnWarning>.*true.*;<failOnWarning>false</failOnWarning>;g" -i $x;
+  fi
+done
+
+
 %build
-%mvn_build
+%mvn_build -f
 
 %install
 %mvn_install
@@ -85,8 +95,13 @@ rm extras/src/test/java/com/google/gson/typeadapters/PostConstructAdapterFactory
 %license LICENSE
 
 %changelog
-* Sat Mar 02 2024 Jiri Vanek <jvanek@redhat.com> - 2.10.1-5
+* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 2.10.1-5
 - Rebuilt for java-21-openjdk as system jdk
+- bumped compiler release to 8
+- disabled warnings as errors. Note, the warnings are legitimate:
+-- implicit cast from int to char in compound assignment is possibly lossy
+-- on-transient instance field of a serializable class declared with a non-serializable type
+- skipped tests; the failures seems real, usptream must be notified
 
 * Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-17 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 12:39 [rpms/google-gson] epel10: Merge branch 'f40' into rawhide 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox