From 524cc2657b6fb604385eec31263df2f2d1234664 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 17 May 2021 08:43:36 +0200 Subject: [PATCH] Implement bootstrap mode --- jansi.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jansi.spec b/jansi.spec index cdc9647..f6f9831 100644 --- a/jansi.spec +++ b/jansi.spec @@ -1,3 +1,5 @@ +%bcond_with bootstrap + Name: jansi Version: 2.1.1 Release: 3%{?dist} @@ -11,11 +13,15 @@ Patch0: %{name}-jni.patch BuildRequires: gcc BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) BuildRequires: mvn(org.apache.maven.surefire:surefire-junit-platform) BuildRequires: mvn(org.fusesource:fusesource-pom:pom:) BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine) +%endif %description Jansi is a small java library that allows you to use ANSI escape sequences