From 194145ca5ff43070f58b7d2b61e532bb0272462c Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 1 Mar 2021 06:47:16 +0100 Subject: [PATCH] Don't build check with subunit support in RHEL --- check.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/check.spec b/check.spec index 2347f99..bc261dc 100644 --- a/check.spec +++ b/check.spec @@ -1,6 +1,6 @@ Name: check Version: 0.15.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A unit test framework for C Source0: https://github.com/libcheck/%{name}/archive/%{version}/%{name}-%{version}.tar.gz License: LGPLv2+ @@ -16,7 +16,9 @@ BuildRequires: libtool BuildRequires: make BuildRequires: patchutils BuildRequires: pkgconfig +%if ! 0%{?rhel} BuildRequires: pkgconfig(libsubunit) +%endif BuildRequires: texinfo, texlive-tex, graphviz %description @@ -140,6 +142,9 @@ cd - %{_mandir}/man1/checkmk.1* %changelog +* Mon Mar 01 2021 Tomas Popela - 0.15.2-3 +- Don't build with subinit support in RHEL + * Tue Jan 26 2021 Fedora Release Engineering - 0.15.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild