From 3d2db2a1289a4c9dc4ae2d2cd5efadcdeedaa3e67c44cbcbdc403ea7768abc28 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 14 Jun 2021 08:57:05 +0000 Subject: [PATCH] Accepting request 898108 from home:dimstar:Factory - Do not BuildRequire pandoc on ix86 architectures: the haskell stack is not supported on intel 32bit archs. OBS-URL: https://build.opensuse.org/request/show/898108 OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-tools?expand=0&rev=72 --- tpm2.0-tools.changes | 6 ++++++ tpm2.0-tools.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/tpm2.0-tools.changes b/tpm2.0-tools.changes index 093a6d4..c3e5c62 100644 --- a/tpm2.0-tools.changes +++ b/tpm2.0-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 7 12:50:22 UTC 2021 - Dominique Leuenberger + +- Do not BuildRequire pandoc on ix86 architectures: the haskell + stack is not supported on intel 32bit archs. + ------------------------------------------------------------------- Fri May 28 10:24:21 UTC 2021 - Matthias Gerstner diff --git a/tpm2.0-tools.spec b/tpm2.0-tools.spec index 2dbfa60..14fcfa0 100644 --- a/tpm2.0-tools.spec +++ b/tpm2.0-tools.spec @@ -34,6 +34,7 @@ BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: libuuid-devel %if 0%{?is_opensuse} +%ifnarch %{ix86} # releases prior to 3.0.4 required pandoc for building the man pages. On SLE # we don't have pandoc and it requires a complete haskell stack so adding it # is out of the question just for man pages. @@ -48,6 +49,7 @@ BuildRequires: libuuid-devel # need to install them explicitly. BuildRequires: pandoc %endif +%endif BuildRequires: pkgconfig BuildRequires: tpm2-0-tss-devel BuildRequires: tpm2.0-abrmd-devel