From c7f319e8431f43f07b4363ede3558148d783ac46 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 21 Apr 2023 09:20:51 +0300 Subject: [PATCH] Disable pandoc on riscv64 for now Signed-off-by: David Abdurachmanov --- secilc.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/secilc.spec b/secilc.spec index 97a9ab5..691f5ae 100644 --- a/secilc.spec +++ b/secilc.spec @@ -2,7 +2,7 @@ Name: secilc Version: 3.5 -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} Summary: The SELinux CIL Compiler License: BSD-2-Clause @@ -15,7 +15,10 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/3.5/ Requires: libsepol >= %{libsepolver} BuildRequires: gcc BuildRequires: make -BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc-pdf, texlive-mdwtools +BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, texlive-mdwtools +%ifnarch riscv64 +BuildRequires: pandoc-pdf +%endif %description The SELinux CIL Compiler is a compiler that converts the CIL language as @@ -61,11 +64,16 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI %license LICENSE %files doc +%ifnarch riscv64 %doc docs/html %doc docs/pdf +%endif %license LICENSE %changelog +* Fri Apr 21 2023 David Abdurachmanov - 3.5-1.0.riscv64 +- Disable pandoc on riscv64 for now + * Fri Feb 24 2023 Petr Lautrbach - 3.5-1 - SELinux userspace 3.5 release