public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jline2] epel10: Fix OSGi metadata.
@ 2026-09-29 13:17 Severin Gehwolf
0 siblings, 0 replies; only message in thread
From: Severin Gehwolf @ 2026-09-29 13:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jline2
Branch : epel10
Commit : e59aa2a451695aadf09a8b6e8bc184b1acf32200
Author : Severin Gehwolf <sgehwolf@redhat.com>
Date : 2013-03-12T17:40:09+01:00
Stats : +8/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jline2/c/e59aa2a451695aadf09a8b6e8bc184b1acf32200?branch=epel10
Log:
Fix OSGi metadata.
Don't export packages which aren't in this package, but provided by
jansi. Fixes RHBZ#920756.
---
diff --git a/jline2.spec b/jline2.spec
index 8a538f3..3fb5ebc 100644
--- a/jline2.spec
+++ b/jline2.spec
@@ -1,6 +1,6 @@
Name: jline2
Version: 2.10
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: JLine is a Java library for handling console input
Group: Development/Libraries
License: BSD and ASL 2.0
@@ -58,6 +58,9 @@ This package contains the API documentation for %{name}.
%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Import-Package"
%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions" "<Import-Package>javax.swing;resolution:=optional,!org.fusesource.jansi.internal</Import-Package>"
+# Let maven bundle plugin figure out the exports.
+%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Export-Package"
+
%build
mvn-rpmbuild install javadoc:aggregate
@@ -90,6 +93,10 @@ ln -s %{_javadir}/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
%doc LICENSE.txt
%changelog
+* Tue Mar 12 2013 Severin Gehwolf <sgehwolf@redhat.com> 2.10-6
+- Fix OSGi metadata. Don't export packages which aren't in this
+ package. Fixes RHBZ#920756.
+
* Mon Mar 11 2013 Severin Gehwolf <sgehwolf@redhat.com> 2.10-5
- Provide %{_javadir}/%{name}.jar symlink. Fix RHBZ#919640.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-29 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 13:17 [rpms/jline2] epel10: Fix OSGi metadata Severin Gehwolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox