public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/google-gson] epel10: Also export internal packages in OSGi metadata
@ 2026-08-17 12:38 Mat Booth
0 siblings, 0 replies; only message in thread
From: Mat Booth @ 2026-08-17 12:38 UTC (permalink / raw)
To: git-commits
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
^ 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: Also export internal packages in OSGi metadata Mat Booth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox