public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marek Goldmann <marek.goldmann@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jline2] epel10: Upstream release 2.10
Date: Tue, 29 Sep 2026 13:17:19 GMT	[thread overview]
Message-ID: <179068783917.1.17650679856536452339.rpms-jline2-f090b3c6f0ce@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/jline2
Branch : epel10
Commit : f090b3c6f0ce6cec932429cd374180f925cc112d
Author : Marek Goldmann <marek.goldmann@gmail.com>
Date   : 2013-02-01T10:50:27+01:00
Stats  : +17/-57 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/jline2/c/f090b3c6f0ce6cec932429cd374180f925cc112d?branch=epel10

Log:
Upstream release 2.10

---
diff --git a/.gitignore b/.gitignore
index 62baf4f..36fbdd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /jline-2.5.tar.xz
+/jline-2.10.tar.xz

diff --git a/jline2-2.5-pom.patch b/jline2-2.5-pom.patch
deleted file mode 100644
index 5ea81a7..0000000
--- a/jline2-2.5-pom.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- 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>
- 
-             <!-- include all the dependencies into the jar so it can run standalone -->
--            <plugin>
-+<!--            <plugin>
-                 <groupId>org.apache.maven.plugins</groupId>
-                 <artifactId>maven-shade-plugin</artifactId>
-                 <version>1.4</version>
-@@ -234,7 +234,7 @@
-                         </configuration>
-                     </execution>
-                 </executions>
--            </plugin>
-+            </plugin>-->
-         </plugins>
-     </build>
- 
-@@ -270,4 +270,4 @@
-         </profile>
-     </profiles>
- 
--</project>
-\ No newline at end of file
-+</project>

diff --git a/jline2-2.5-protected-void-back.patch b/jline2-2.5-protected-void-back.patch
deleted file mode 100644
index eda39e0..0000000
--- a/jline2-2.5-protected-void-back.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up jline-2.5/src/main/java/jline/console/ConsoleReader.java.org jline-2.5/src/main/java/jline/console/ConsoleReader.java
---- jline-2.5/src/main/java/jline/console/ConsoleReader.java.org	2011-11-03 21:27:38.242789068 +0100
-+++ jline-2.5/src/main/java/jline/console/ConsoleReader.java	2011-11-03 21:28:47.027460246 +0100
-@@ -579,7 +579,7 @@ public class ConsoleReader
-     /**
-      * Move the visual cursor backwards without modifying the buffer cursor.
-      */
--    private void back(final int num) throws IOException {
-+    protected void back(final int num) throws IOException {
-         if (num == 0) return;
-         if (terminal.isAnsiSupported()) {
-             int width = getTerminal().getWidth();

diff --git a/jline2.spec b/jline2.spec
index 93ce3d1..d8fd9c5 100644
--- a/jline2.spec
+++ b/jline2.spec
@@ -1,16 +1,14 @@
 Name:             jline2
-Version:          2.5
-Release:          7%{?dist}
+Version:          2.10
+Release:          1%{?dist}
 Summary:          JLine is a Java library for handling console input
 Group:            Development/Libraries
 License:          BSD and ASL 2.0
 URL:              https://github.com/jline/jline2
 
 # git clone git://github.com/jline/jline2.git
-# cd jline2/ && git archive --format=tar --prefix=jline-2.5/ jline-2.5 | xz > jline-2.5.tar.xz
+# cd jline2/ && git archive --format=tar --prefix=jline-2.10/ jline-2.10 | xz > jline-2.10.tar.xz
 Source0:          jline-%{version}.tar.xz
-Patch0:           %{name}-%{version}-pom.patch
-Patch1:           %{name}-%{version}-protected-void-back.patch
 
 BuildArch:        noarch
 
@@ -47,8 +45,13 @@ This package contains the API documentation for %{name}.
 
 %prep
 %setup -q -n jline-%{version}
-%patch0
-%patch1 -p1
+
+# Remove maven-shade-plugin usage
+%pom_remove_plugin "org.apache.maven.plugins:maven-shade-plugin"
+
+# Remove unavailable and unneeded deps
+%pom_xpath_remove "pom:build/pom:extensions"
+%pom_xpath_remove "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId = 'maven-site-plugin']"
 
 %build
 mvn-rpmbuild install javadoc:aggregate
@@ -72,13 +75,17 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %{_mavenpomdir}/*
 %{_mavendepmapfragdir}/*
 %{_javadir}/*
-%doc README.md LICENSE.txt
+%doc CHANGELOG.md README.md LICENSE.txt
 
 %files javadoc
 %{_javadocdir}/%{name}
 %doc LICENSE.txt
 
 %changelog
+* Fri Feb 01 2013 Marek Goldmann <mgoldman@redhat.com> - 2.10-1
+- Upstream release 2.10
+- Removed patches, using pom macros now
+
 * 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.

diff --git a/sources b/sources
index d797f25..a016557 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-06eb131df117aec260d08b720745ec6b  jline-2.5.tar.xz
+621dd4d65e5b67b1468f2666a7fa1fb8  jline-2.10.tar.xz

                 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=179068783917.1.17650679856536452339.rpms-jline2-f090b3c6f0ce@fedoraproject.org \
    --to=marek.goldmann@gmail.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