public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Severin Gehwolf <sgehwolf@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/google-gson] epel10: Update to latest upstream release.
Date: Mon, 17 Aug 2026 12:38:40 GMT	[thread overview]
Message-ID: <178697032086.1.896221767505045313.rpms-google-gson-7f4fe70346be@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/google-gson
Branch : epel10
Commit : 7f4fe70346be9d8a5af0555e6eb55a1a88275d79
Author : Severin Gehwolf <sgehwolf@redhat.com>
Date   : 2012-12-19T12:53:18+01:00
Stats  : +9/-30 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/google-gson/c/7f4fe70346be9d8a5af0555e6eb55a1a88275d79?branch=epel10

Log:
Update to latest upstream release.

---
diff --git a/.gitignore b/.gitignore
index 4209d99..3e00672 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /google-gson-1.7.1.tar.xz
 google-gson-2.2.1.tar.xz
+/google-gson-2.2.2.tar.xz

diff --git a/google-gson-test-fails-workaround-2.patch b/google-gson-test-fails-workaround-2.patch
deleted file mode 100644
index a150e30..0000000
--- a/google-gson-test-fails-workaround-2.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur google-gson-1.7.1.orig/src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java google-gson-1.7.1/src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java
---- google-gson-1.7.1.orig/src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java	2011-01-11 00:03:48.000000000 +0100
-+++ google-gson-1.7.1/src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java	2011-05-13 14:48:43.000000000 +0200
-@@ -35,11 +35,12 @@
-   }
-   
-   public void testInetAddressSerializationAndDeserialization() throws Exception {
--    InetAddress localhost = InetAddress.getLocalHost();
--    String localInetAddress = gson.toJson(localhost);
--    assertEquals("\"" + localhost.getHostAddress() + "\"", localInetAddress);
-+// WORKAROUND FOR : Tests in error: testInetAddressSerializationAndDeserialization
-+//    InetAddress localhost = InetAddress.getLocalHost();
-+//    String localInetAddress = gson.toJson(localhost);
-+//    assertEquals("\"" + localhost.getHostAddress() + "\"", localInetAddress);
-     
--    InetAddress value = gson.fromJson(localInetAddress, InetAddress.class);
--    assertEquals(localhost, value);
-+//    InetAddress value = gson.fromJson(localInetAddress, InetAddress.class);
-+//    assertEquals(localhost, value);
-   } 
- }

diff --git a/google-gson.spec b/google-gson.spec
index 2ea5813..df81a23 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -3,19 +3,17 @@
 %global group_id     com.google.code.gson
 
 Name:             google-%{short_name}
-Version:          2.2.1
-Release:          3%{?dist}
+Version:          2.2.2
+Release:          1%{?dist}
 Summary:          Java lib for conversion of Java objects into JSON representation
 License:          ASL 2.0
 Group:            Development/Libraries
 URL:              http://code.google.com/p/%{name}
 # request for tarball: http://code.google.com/p/google-gson/issues/detail?id=283
-# svn export http://google-gson.googlecode.com/svn/tags/gson-1.7.1 google-gson-1.7.1
-# tar caf google-gson-1.7.1.tar.xz google-gson-1.7.1
+# svn export http://google-gson.googlecode.com/svn/tags/gson-%{version} google-gson-%{version}
+# tar caf google-gson-%{version}.tar.xz google-gson-%{version}
 Source0:          %{name}-%{version}.tar.xz
 
-Patch1:           %{name}-test-fails-workaround-2.patch
-
 BuildArch:        noarch
 
 BuildRequires:    java-devel
@@ -44,8 +42,6 @@ This package contains the API documentation for %{name}.
 %prep
 %setup -q
 
-%patch1 -p1
-
 # convert CR+LF to LF
 sed -i 's/\r//g' LICENSE
 
@@ -78,6 +74,9 @@ cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 %doc %{_javadocdir}/%{name}
 
 %changelog
+* Wed Dec 19 2012 Severin Gehwolf <sgehwolf@redhat.com> 2.2.2-1
+- Update to latest upstream release.
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 

diff --git a/sources b/sources
index df85992..bbc9ccc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f67b5f6cdea4650f098903a22aea7162  google-gson-2.2.1.tar.xz
+dcba1470e2354767b2f87cc65fb964d3  google-gson-2.2.2.tar.xz

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 12:38 Severin Gehwolf [this message]
2026-08-17 12:38 [rpms/google-gson] epel10: Update to latest upstream release Mat Booth

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=178697032086.1.896221767505045313.rpms-google-gson-7f4fe70346be@fedoraproject.org \
    --to=sgehwolf@redhat.com \
    --cc=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