public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Severin Gehwolf <sgehwolf@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jline2] epel10: Fix OSGi metadata.
Date: Tue, 29 Sep 2026 13:17:21 GMT	[thread overview]
Message-ID: <179068784177.1.1950724847530451698.rpms-jline2-e59aa2a45169@fedoraproject.org> (raw)

            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.
 

                 reply	other threads:[~2026-09-29 13:17 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=179068784177.1.1950724847530451698.rpms-jline2-e59aa2a45169@fedoraproject.org \
    --to=sgehwolf@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