public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Didik Supriadi <didiksupriadi41@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/jansi-native] epel10: Copy libjansi.so from jansi 2.x (jansi package)
Date: Thu, 20 Aug 2026 12:13:36 GMT [thread overview]
Message-ID: <178722801646.1.7242527548831321303.rpms-jansi-native-b65b02c08021@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/jansi-native
Branch : epel10
Commit : b65b02c080216c39d1f3eeb67f574dbfdbdb7557
Author : Didik Supriadi <didiksupriadi41@fedoraproject.org>
Date : 2023-08-02T05:31:23+07:00
Stats : +14/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jansi-native/c/b65b02c080216c39d1f3eeb67f574dbfdbdb7557?branch=epel10
Log:
Copy libjansi.so from jansi 2.x (jansi package)
Signed-off-by: Didik Supriadi <didiksupriadi41@fedoraproject.org>
---
diff --git a/jansi-native.spec b/jansi-native.spec
index 413fa62..8aa0e2b 100644
--- a/jansi-native.spec
+++ b/jansi-native.spec
@@ -7,7 +7,7 @@
Name: jansi-native
Version: 1.8
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Jansi Native implements the JNI Libraries used by the Jansi project
License: ASL 2.0
URL: http://jansi.fusesource.org/
@@ -17,7 +17,8 @@ BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.fusesource:fusesource-pom:pom:)
-BuildRequires: mvn(org.fusesource.hawtjni:maven-hawtjni-plugin) >= 1.9-2
+# jansi-native is embedded in jansi 2.x
+BuildRequires: mvn(org.fusesource.jansi:jansi)
BuildRequires: mvn(org.fusesource.hawtjni:hawtjni-runtime) >= 1.9-2
# jansi-native provides JNI libraries for use by the JAVA Jansi project,
# so it is only necessary on java_arches
@@ -56,8 +57,16 @@ This package contains the API documentation for %{name}.
</configuration>
</plugin>"
+%pom_xpath_remove "pom:plugin[pom:artifactId='hawtjni-maven-plugin']"
+
%build
%mvn_build
+
+# copy libjansi.so
+so_dir=target/generated-sources/hawtjni/lib/META-INF/native/linux%{bits}/
+mkdir -p $so_dir
+cp -a %{_prefix}/lib/jansi/libjansi.so $so_dir
+
%mvn_build -- -Dplatform=linux%{bits}
%install
@@ -71,6 +80,9 @@ This package contains the API documentation for %{name}.
%license license.txt
%changelog
+* Tue Aug 01 2023 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.8-14
+- Copy libjansi.so from jansi 2.x (jansi package)
+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_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=178722801646.1.7242527548831321303.rpms-jansi-native-b65b02c08021@fedoraproject.org \
--to=didiksupriadi41@fedoraproject.org \
--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