public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/google-gson] epel10: Merge branch 'f40' into rawhide
Date: Mon, 17 Aug 2026 12:39:08 GMT	[thread overview]
Message-ID: <178697034858.1.1327204305727864758.rpms-google-gson-41f08d6ed179@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-17 12:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178697034858.1.1327204305727864758.rpms-google-gson-41f08d6ed179@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox