public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/google-gson] epel10: Update to upstream version 2.3.1
@ 2026-08-17 12:38 Michael Simacek
0 siblings, 0 replies; only message in thread
From: Michael Simacek @ 2026-08-17 12:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/google-gson
Branch : epel10
Commit : 7e9b3d6965d58461c8226e572ab43af7b6708c70
Author : Michael Simacek <msimacek@redhat.com>
Date : 2015-04-27T12:21:53+02:00
Stats : +15/-15 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/google-gson/c/7e9b3d6965d58461c8226e572ab43af7b6708c70?branch=epel10
Log:
Update to upstream version 2.3.1
---
diff --git a/.gitignore b/.gitignore
index d96142d..aba50e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
google-gson-2.2.1.tar.xz
/google-gson-2.2.2.tar.xz
/google-gson-2.2.4.tar.xz
+/gson-2.3.1.tar.gz
diff --git a/google-gson.spec b/google-gson.spec
index 7bc34e4..7003ec6 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -1,17 +1,10 @@
-
-%global short_name gson
-%global group_id com.google.code.gson
-
-Name: google-%{short_name}
-Version: 2.2.4
-Release: 8%{?dist}
+Name: google-gson
+Version: 2.3.1
+Release: 1%{?dist}
Summary: Java lib for conversion of Java objects into JSON representation
License: ASL 2.0
-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-%{version} google-gson-%{version}
-# tar caf google-gson-%{version}.tar.xz google-gson-%{version}
-Source0: %{name}-%{version}.tar.xz
+URL: https://github.com/google/gson
+Source0: https://github.com/google/gson/archive/gson-%{version}.tar.gz
BuildArch: noarch
@@ -36,7 +29,7 @@ Summary: API documentation for %{name}
This package contains the API documentation for %{name}.
%prep
-%setup -q
+%setup -q -n gson-gson-%{version}
# convert CR+LF to LF
sed -i 's/\r//g' LICENSE
@@ -44,9 +37,12 @@ sed -i 's/\r//g' LICENSE
# Test requires network
rm src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java
+# Throwable has more fields serialized, probably incorrect test expectations
+rm src/test/java/com/google/gson/functional/ThrowableFunctionalTest.java
+
%build
# LANG="C" or LANG="en_US.utf8" needed for the tests
-%mvn_build -- -Dmaven.test.failure.ignore=true
+%mvn_build
%install
%mvn_install
@@ -58,6 +54,9 @@ rm src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java
%doc LICENSE
%changelog
+* Sun Apr 26 2015 Michael Simacek <msimacek@redhat.com> - 2.3.1-1
+- Update to upstream version 2.3.1
+
* Mon Apr 20 2015 Michael Simacek <msimacek@redhat.com> - 2.2.4-8
- Remove test that relies on networking
diff --git a/sources b/sources
index 98b4c14..435f88d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-85e8b4b9017c0cc31f9fbf6fc2a21c9b google-gson-2.2.4.tar.xz
+2353062b18128ce321aff687479a52b3 gson-2.3.1.tar.gz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-17 12:38 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:38 [rpms/google-gson] epel10: Update to upstream version 2.3.1 Michael Simacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox