public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jansi1] epel10: Replace BR jansi-native with jansi
@ 2026-08-31 6:03 Didik Supriadi
0 siblings, 0 replies; only message in thread
From: Didik Supriadi @ 2026-08-31 6:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jansi1
Branch : epel10
Commit : c6f64b507b4799af2e37981bc077b99c3bf587ac
Author : Didik Supriadi <didiksupriadi41@fedoraproject.org>
Date : 2023-07-27T07:07:00+07:00
Stats : +9/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jansi1/c/c6f64b507b4799af2e37981bc077b99c3bf587ac?branch=epel10
Log:
Replace BR jansi-native with jansi
Signed-off-by: Didik Supriadi <didiksupriadi41@fedoraproject.org>
---
diff --git a/jansi1.spec b/jansi1.spec
index a413a51..6763c6a 100644
--- a/jansi1.spec
+++ b/jansi1.spec
@@ -1,6 +1,6 @@
Name: jansi1
Version: 1.18
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Generate and interpret ANSI escape sequences in Java
License: Apache-2.0
URL: https://fusesource.github.io/jansi/
@@ -15,7 +15,8 @@ BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.fusesource:fusesource-pom:pom:)
BuildRequires: mvn(org.fusesource.hawtjni:hawtjni-runtime)
-BuildRequires: mvn(org.fusesource.jansi:jansi-native)
+# jansi-native is embedded in jansi 2.x
+BuildRequires: mvn(org.fusesource.jansi:jansi)
%description
Jansi is a small Java library that allows you to use ANSI escape
@@ -24,12 +25,6 @@ on platforms which don't support it like Windows and provides graceful
degradation when output is sent to output devices which cannot support
ANSI sequences.
-%package javadoc
-Summary: Javadocs for %{name}
-
-%description javadoc
-This package contains the API documentation for %{name}.
-
%prep
%autosetup -n jansi-jansi-project-%{version}
@@ -51,6 +46,7 @@ cd jansi
# it's there only to be bundled in uberjar and we disable uberjar generation
%pom_remove_dep :jansi-linux32
%pom_remove_dep :jansi-linux64
+%pom_change_dep :jansi-native :jansi
cd -
# javadoc generation fails due to strict doclint in JDK 8
@@ -62,7 +58,8 @@ cd -
%build
%mvn_compat_version org.fusesource.jansi:jansi %{version} 1
-%mvn_build
+# don't build javadoc since it will try to create jansi2 javadoc, I guess
+%mvn_build -j
%install
%mvn_install
@@ -71,10 +68,10 @@ cd -
%license license.txt
%doc readme.md changelog.md
-%files javadoc -f .mfiles-javadoc
-%license license.txt
-
%changelog
+* Wed Jul 26 2023 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.18-16
+- Replace BR jansi-native with jansi
+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-31 6:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 6:03 [rpms/jansi1] epel10: Replace BR jansi-native with jansi Didik Supriadi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox