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 Import-Package header
Date: Tue, 29 Sep 2026 13:17:18 GMT	[thread overview]
Message-ID: <179068783868.1.5989963944648382059.rpms-jline2-68726e49dd86@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/jline2
            Branch : epel10
            Commit : 68726e49dd869a5264709da0d11fb97d2d3a210d
            Author : Severin Gehwolf <sgehwolf@redhat.com>
            Date   : 2012-10-22T12:36:51+02:00
            Stats  : +17/-6 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/jline2/c/68726e49dd869a5264709da0d11fb97d2d3a210d?branch=epel10

            Log:
            Fix OSGi Import-Package header

It was importing org.fusesource.jansi.internal which does not exist and
if anything would only contain Windows related things.

---
diff --git a/jline2-2.5-pom.patch b/jline2-2.5-pom.patch
index 7467921..5ea81a7 100644
--- a/jline2-2.5-pom.patch
+++ b/jline2-2.5-pom.patch
@@ -1,6 +1,14 @@
-diff -Naur jline-2.5/pom.xml jline-2.5-work/pom.xml
---- jline-2.5/pom.xml	2010-11-12 13:00:49.000000000 -0500
-+++ jline-2.5-work/pom.xml	2011-05-31 01:42:53.140177974 -0400
+--- pom.xml.orig	2010-11-12 19:00:49.000000000 +0100
++++ pom.xml	2012-10-19 14:18:50.000000000 +0200
+@@ -167,7 +167,7 @@
+                         </goals>
+                         <configuration>
+                             <instructions>
+-                                <Import-Package>!jline*,javax.swing;resolution:=optional,*</Import-Package>
++                                <Import-Package>!jline*,javax.swing;resolution:=optional,!org.fusesource.jansi.internal,*</Import-Package>
+                                 <DynamicImport-Package>*</DynamicImport-Package>
+                             </instructions>
+                         </configuration>
 @@ -200,7 +200,7 @@
              </plugin>
  

diff --git a/jline2.spec b/jline2.spec
index 65af730..93ce3d1 100644
--- a/jline2.spec
+++ b/jline2.spec
@@ -1,6 +1,6 @@
 Name:             jline2
 Version:          2.5
-Release:          6%{?dist}
+Release:          7%{?dist}
 Summary:          JLine is a Java library for handling console input
 Group:            Development/Libraries
 License:          BSD and ASL 2.0
@@ -47,7 +47,7 @@ This package contains the API documentation for %{name}.
 
 %prep
 %setup -q -n jline-%{version}
-%patch0 -p1
+%patch0
 %patch1 -p1
 
 %build
@@ -79,6 +79,10 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %doc LICENSE.txt
 
 %changelog
+* Fri Oct 19 2012 Severin Gehwolf <sgehwolf@redhat.com> 2.5-7
+- Fix OSGi Import-Package header so as to not import non existing
+  org.fusesource.jansi.internal package.
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
@@ -97,4 +101,3 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 
 * Tue May 31 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-1
 - Initial packaging
-

                 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=179068783868.1.5989963944648382059.rpms-jline2-68726e49dd86@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