From f0d35c1fdb586dc8bb7662ed90d8b1ee233f24ad Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 9 Aug 2023 16:36:34 +0200 Subject: [PATCH] Implement bootstrap mode --- disruptor.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/disruptor.spec b/disruptor.spec index d64eae5..b49163b 100644 --- a/disruptor.spec +++ b/disruptor.spec @@ -1,3 +1,5 @@ +%bcond_with bootstrap + Name: disruptor Version: 3.4.4 Release: 6%{?dist} @@ -10,9 +12,13 @@ ExclusiveArch: %{java_arches} noarch Source0: https://github.com/LMAX-Exchange/disruptor/archive/%{version}/%{name}-%{version}.tar.gz Source1: https://repo1.maven.org/maven2/com/lmax/%{name}/%{version}/%{name}-%{version}.pom +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +%endif %description A High Performance Inter-Thread Messaging Library.