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: Also export internal packages in OSGi metadata
Date: Mon, 17 Aug 2026 12:38:50 GMT [thread overview]
Message-ID: <178697033048.1.2729553787746486013.rpms-google-gson-35ce867861f7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/google-gson
Branch : epel10
Commit : 35ce867861f7b8771ee62c0e99d69b071f80ac79
Author : Mat Booth <mat.booth@redhat.com>
Date : 2017-08-29T11:16:23+01:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/google-gson/c/35ce867861f7b8771ee62c0e99d69b071f80ac79?branch=epel10
Log:
Also export internal packages in OSGi metadata
---
diff --git a/google-gson.spec b/google-gson.spec
index ceabd71..697b02a 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -1,10 +1,11 @@
Name: google-gson
Version: 2.8.1
-Release: 1%{?dist}
+Release: 2%{?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
+Patch0: osgi-export-internal.patch
BuildArch: noarch
@@ -27,6 +28,7 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n gson-gson-parent-%{version}
+%patch0 -p1
# Use felix maven-bundle-plugin only for OSGi metadata
%pom_remove_plugin :bnd-maven-plugin gson
@@ -57,6 +59,9 @@ This package contains the API documentation for %{name}.
%license LICENSE
%changelog
+* Tue Aug 29 2017 Mat Booth <mat.booth@redhat.com> - 2.8.1-2
+- Also export internal packages in OSGi metadata
+
* Fri Aug 25 2017 Mat Booth <mat.booth@redhat.com> - 2.8.1-1
- Update to latest upstream release
diff --git a/osgi-export-internal.patch b/osgi-export-internal.patch
new file mode 100644
index 0000000..9f2875d
--- /dev/null
+++ b/osgi-export-internal.patch
@@ -0,0 +1,11 @@
+--- gson-gson-parent-2.8.1/gson/bnd.bnd.orig 2017-08-29 11:07:29.630655005 +0100
++++ gson-gson-parent-2.8.1/gson/bnd.bnd 2017-08-29 11:08:29.592075069 +0100
+@@ -11,4 +11,7 @@
+ com.google.gson,\
+ com.google.gson.annotations,\
+ com.google.gson.reflect,\
+- com.google.gson.stream
++ com.google.gson.stream,\
++ com.google.gson.internal;x-internal:=true,\
++ com.google.gson.internal.bind;x-internal:=true,\
++ com.google.gson.internal.bind.util;x-internal:=true
reply other threads:[~2026-08-17 12:38 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=178697033048.1.2729553787746486013.rpms-google-gson-35ce867861f7@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