public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mat Booth <mat.booth@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jansi-native] epel10: Allow building against Java 11
Date: Thu, 20 Aug 2026 12:13:30 GMT [thread overview]
Message-ID: <178722801046.1.7983409882829604498.rpms-jansi-native-a7ffaa09c559@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/jansi-native
Branch : epel10
Commit : a7ffaa09c559c6095a9c5d0090ec80cac20d1dc7
Author : Mat Booth <mat.booth@redhat.com>
Date : 2020-06-26T16:18:50+01:00
Stats : +17/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jansi-native/c/a7ffaa09c559c6095a9c5d0090ec80cac20d1dc7?branch=epel10
Log:
Allow building against Java 11
---
diff --git a/jansi-native.spec b/jansi-native.spec
index 09db731..1544dee 100644
--- a/jansi-native.spec
+++ b/jansi-native.spec
@@ -7,7 +7,7 @@
Name: jansi-native
Version: 1.8
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Jansi Native implements the JNI Libraries used by the Jansi project
License: ASL 2.0
URL: http://jansi.fusesource.org/
@@ -39,6 +39,19 @@ This package contains the API documentation for %{name}.
%mvn_alias :jansi-linux%{bits} :jansi-linux
%mvn_file :jansi-linux%{bits} %{name}/jansi-linux%{bits} %{name}/jansi-linux
+# remove hard-coded compiler settings
+%pom_remove_plugin :maven-compiler-plugin
+
+# fix javadoc generation for java 11
+%pom_remove_plugin :maven-javadoc-plugin
+%pom_xpath_inject pom:pluginManagement/pom:plugins "<plugin>
+<artifactId>maven-javadoc-plugin</artifactId>
+<configuration>
+<source>1.8</source>
+<detectJavaApiLink>false</detectJavaApiLink>
+</configuration>
+</plugin>"
+
%build
%mvn_build
%mvn_build -- -Dplatform=linux%{bits}
@@ -54,6 +67,9 @@ This package contains the API documentation for %{name}.
%license license.txt
%changelog
+* Fri Jun 26 2020 Mat Booth <mat.booth@redhat.com> - 1.8-3
+- Allow building against Java 11
+
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
reply other threads:[~2026-08-20 12:13 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=178722801046.1.7983409882829604498.rpms-jansi-native-a7ffaa09c559@fedoraproject.org \
--to=mat.booth@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