public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jline2] epel10: Do not import non-existing org.fusesource.jansi.internal package
@ 2026-09-29 13:17 Marek Goldmann
  0 siblings, 0 replies; only message in thread
From: Marek Goldmann @ 2026-09-29 13:17 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/jline2
Branch : epel10
Commit : 1802d903cae54421166e90a9fd9cd18047a91d9f
Author : Marek Goldmann <marek.goldmann@gmail.com>
Date   : 2013-02-01T11:06:19+01:00
Stats  : +8/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/jline2/c/1802d903cae54421166e90a9fd9cd18047a91d9f?branch=epel10

Log:
Do not import non-existing org.fusesource.jansi.internal package

---
diff --git a/jline2.spec b/jline2.spec
index d8fd9c5..c4a36a0 100644
--- a/jline2.spec
+++ b/jline2.spec
@@ -1,6 +1,6 @@
 Name:             jline2
 Version:          2.10
-Release:          1%{?dist}
+Release:          2%{?dist}
 Summary:          JLine is a Java library for handling console input
 Group:            Development/Libraries
 License:          BSD and ASL 2.0
@@ -53,6 +53,10 @@ This package contains the API documentation for %{name}.
 %pom_xpath_remove "pom:build/pom:extensions"
 %pom_xpath_remove "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId = 'maven-site-plugin']"
 
+# Do not import non-existing internal package
+%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>"
+
 %build
 mvn-rpmbuild install javadoc:aggregate
 
@@ -82,6 +86,9 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %doc LICENSE.txt
 
 %changelog
+* Fri Feb 01 2013 Marek Goldmann <mgoldman@redhat.com> - 2.10-2
+- Do not import non-existing org.fusesource.jansi.internal package
+
 * Fri Feb 01 2013 Marek Goldmann <mgoldman@redhat.com> - 2.10-1
 - Upstream release 2.10
 - Removed patches, using pom macros now

^ 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: Do not import non-existing org.fusesource.jansi.internal package Marek Goldmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox