public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mat Booth <mat.booth@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/google-gson] epel10: Update to latest upstream release
Date: Mon, 17 Aug 2026 12:38:49 GMT	[thread overview]
Message-ID: <178697032999.1.14356133712837258193.rpms-google-gson-3055bcfeaa30@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/google-gson
Branch : epel10
Commit : 3055bcfeaa30dbb76a386321de028e41dc1c9015
Author : Mat Booth <mat.booth@redhat.com>
Date   : 2017-08-25T10:28:24+01:00
Stats  : +33/-32 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/google-gson/c/3055bcfeaa30dbb76a386321de028e41dc1c9015?branch=epel10

Log:
Update to latest upstream release

---
diff --git a/.gitignore b/.gitignore
index aba50e5..40f94ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,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
+/gson-parent-2.8.1.tar.gz

diff --git a/google-gson.spec b/google-gson.spec
index 5c1a4a7..ceabd71 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -1,16 +1,16 @@
-Name:             google-gson
-Version:          2.3.1
-Release:          7%{?dist}
-Summary:          Java lib for conversion of Java objects into JSON representation
-License:          ASL 2.0
-URL:              https://github.com/google/gson
-Source0:          https://github.com/google/gson/archive/gson-%{version}.tar.gz
+Name:           google-gson
+Version:        2.8.1
+Release:        1%{?dist}
+Summary:        Java lib for conversion of Java objects into JSON representation
+License:        ASL 2.0
+URL:            https://github.com/google/gson
+Source0:        https://github.com/google/gson/archive/gson-parent-%{version}.tar.gz
 
-BuildArch:        noarch
+BuildArch:      noarch
 
 BuildRequires:  maven-local
 BuildRequires:  mvn(junit:junit)
-BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
+BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
 BuildRequires:  mvn(org.sonatype.oss:oss-parent:pom:)
 
 %description
@@ -20,46 +20,46 @@ equivalent Java object. Gson can work with arbitrary Java objects including
 pre-existing objects that you do not have source-code of.
 
 %package javadoc
-Summary:          API documentation for %{name}
+Summary:        API documentation for %{name}
 
 %description javadoc
 This package contains the API documentation for %{name}.
 
 %prep
-%setup -q -n gson-gson-%{version}
-
-# convert CR+LF to LF
-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
-
-# Fixes build with new maven-jar-plugin
-%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" "
+%setup -q -n gson-gson-parent-%{version}
+
+# Use felix maven-bundle-plugin only for OSGi metadata
+%pom_remove_plugin :bnd-maven-plugin gson
+%pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']" "<configuration>
+    <instructions>
+      <_include>bnd.bnd</_include>
+    </instructions>
+  </configuration>
+  <executions>
     <execution>
-      <id>default-jar</id>
-      <phase>skip</phase>
-    </execution>"
-
-%pom_remove_plugin :maven-javadoc-plugin
+      <id>create-manifest</id>
+      <phase>process-classes</phase>
+      <goals><goal>manifest</goal></goals>
+    </execution>
+  </executions>" gson
 
 %build
-# LANG="C" or LANG="en_US.utf8" needed for the tests
 %mvn_build
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc LICENSE README
+%license LICENSE
+%doc README.md CHANGELOG.md UserGuide.md
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE
+%license LICENSE
 
 %changelog
+* Fri Aug 25 2017 Mat Booth <mat.booth@redhat.com> - 2.8.1-1
+- Update to latest upstream release
+
 * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
 

diff --git a/sources b/sources
index 435f88d..9b954d2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2353062b18128ce321aff687479a52b3  gson-2.3.1.tar.gz
+SHA512 (gson-parent-2.8.1.tar.gz) = c243a76dfed0f16a519bbfc120002c07710a191736033f74316ac4c84134e279b7a6bb26a4c129fe6237503842be446556ee4b2e7d7fde5a0c045e11808f2008

             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 Mat Booth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-08-17 12:38 [rpms/google-gson] epel10: Update to latest upstream release Severin Gehwolf

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=178697032999.1.14356133712837258193.rpms-google-gson-3055bcfeaa30@fedoraproject.org \
    --to=mat.booth@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