From 8288f3a384832bd5088661c9e2b5eb8d60f02f6b Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 28 Aug 2022 11:57:42 +0200 Subject: [PATCH] - added bcond to allow building without requiring libtextstyle which is optional --- bison.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index c26ab08..928384d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,3 +1,4 @@ +%bcond_without libtextstyle # don't require libtextstyle Summary: A GNU general-purpose parser generator Summary(de.UTF-8): GNU-Parser-Generator Summary(es.UTF-8): Generador de parser de la GNU @@ -21,7 +22,7 @@ BuildRequires: flex BuildRequires: gcc >= 5:3.2 BuildRequires: gettext-tools >= 0.19 BuildRequires: help2man -BuildRequires: libtextstyle-devel >= 0.20.5 +%{?with_libtextstyle:BuildRequires: libtextstyle-devel >= 0.20.5} BuildRequires: libxslt-progs BuildRequires: lzip BuildRequires: m4 >= 1.4.6 -- 2.44.0