public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Hrcka <thrcka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jline2] epel10: Revert "Obsoleted by package jline. See RHBZ#1022897."
Date: Tue, 29 Sep 2026 13:17:23 GMT	[thread overview]
Message-ID: <179068784388.1.6381548523325953579.rpms-jline2-e5794ad064bc@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/jline2
            Branch : epel10
            Commit : e5794ad064bc319f3cd048369d9a00e50c36c7bd
            Author : Tomas Hrcka <thrcka@redhat.com>
            Date   : 2021-01-04T11:16:13+01:00
            Stats  : +150/-1 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/jline2/c/e5794ad064bc319f3cd048369d9a00e50c36c7bd?branch=epel10

            Log:
            Revert "Obsoleted by package jline. See RHBZ#1022897."

This reverts commit c92d0a0db48537d8bf4fe5e95e436b4e88a1036a.

Unretirement request: https://pagure.io/releng/issue/9924

Signed-off-by: Tomas Hrcka <thrcka@redhat.com>

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..36fbdd9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/jline-2.5.tar.xz
+/jline-2.10.tar.xz

diff --git a/dead.package b/dead.package
deleted file mode 100644
index c50f0ab..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Obsoleted by package jline. See RHBZ#1022897.

diff --git a/jline2.spec b/jline2.spec
new file mode 100644
index 0000000..72e9d81
--- /dev/null
+++ b/jline2.spec
@@ -0,0 +1,147 @@
+Name:             jline2
+Version:          2.10
+Release:          8%{?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.10/ jline-2.10 | xz > jline-2.10.tar.xz
+Source0:          jline-%{version}.tar.xz
+
+BuildArch:        noarch
+
+BuildRequires:    jpackage-utils
+BuildRequires:    java-devel
+BuildRequires:    maven-local
+BuildRequires:    maven-compiler-plugin
+BuildRequires:    maven-jar-plugin
+BuildRequires:    maven-surefire-plugin
+BuildRequires:    maven-install-plugin
+BuildRequires:    junit4
+BuildRequires:    jansi
+BuildRequires:    fusesource-pom
+BuildRequires:    maven-surefire-provider-junit4
+
+Requires:         jpackage-utils
+Requires:         java
+Requires:         jansi
+
+%description
+JLine is a Java library for handling console input. It is similar
+in functionality to BSD editline and GNU readline. People familiar
+with the readline/editline capabilities for modern shells (such as
+bash and tcsh) will find most of the command editing features of
+JLine to be familiar. 
+
+%package javadoc
+Summary:          Javadocs for %{name}
+Group:            Documentation
+Requires:         jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n jline-%{version}
+
+# Remove maven-shade-plugin usage
+%pom_remove_plugin "org.apache.maven.plugins:maven-shade-plugin"
+# Remove animal sniffer plugin in order to reduce deps
+%pom_remove_plugin "org.codehaus.mojo:animal-sniffer-maven-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']"
+
+# 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>"
+
+# 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
+
+%install
+install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
+cp -p target/jline-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+
+install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
+
+# Uh, oh...
+# http://sourceforge.net/mailarchive/message.php?msg_id=27330388
+# https://github.com/jline/jline2/commit/7a4d27430999706f0fd30b4548d5879275a88de2#pom.xml
+%add_maven_depmap -v "" -a "jline:jline"
+
+# add_maven_depmap moves actual jar into its %{_javadir}/%{name}-%{version}.jar
+ln -s %{_javadir}/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+
+%files
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%{_javadir}/*
+%doc CHANGELOG.md README.md LICENSE.txt
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE.txt
+
+%changelog
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Fri Apr 12 2013 Severin Gehwolf <sgehwolf@redhat.com> 2.10-7
+- Remove unneeded animal-sniffer BR.
+
+* 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.
+
+* Thu Feb 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-4
+- Install versioned JAR and POM
+- Add missing BR: animal-sniffer
+- Resolves: rhbz#911559
+
+* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.10-3
+- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
+- Replace maven BuildRequires with maven-local
+
+* 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
+
+* 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
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Nov 15 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-4
+- jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208]
+
+* Wed Sep 21 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-3
+- Updated license
+- Removed unnecessary add_to_maven_depmap
+
+* Thu Sep 08 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-2
+- Cleaned spec
+
+* Tue May 31 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-1
+- Initial packaging

diff --git a/sources b/sources
new file mode 100644
index 0000000..a016557
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+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=179068784388.1.6381548523325953579.rpms-jline2-e5794ad064bc@fedoraproject.org \
    --to=thrcka@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