From ac5bf5da569478d3e7fe83a0994fbc7fb7f762d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 8 Nov 2017 10:07:57 +0100 Subject: [PATCH] Build-require python3-devel for tests Make target for tests is created only if python is installed and that is controlled by %__python3 devel macro in spec file that exists only if python3-devel package is installed. Otherwise the test fails if generating documentation is disabled: Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.O8YL29 + umask 022 + cd /builddir/build/BUILD + cd jsoncpp-1.8.3 + /usr/bin/make -O -j6 -C x86_64-redhat-linux-gnu jsoncpp_check make: *** No rule to make target 'jsoncpp_check'. Stop. --- jsoncpp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsoncpp.spec b/jsoncpp.spec index 8d48e3f..81fbe84 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -17,8 +17,8 @@ BuildRequires: cmake >= 3.1 BuildRequires: doxygen BuildRequires: graphviz BuildRequires: hardlink -BuildRequires: python3-devel %endif +BuildRequires: python3-devel %description %{name} is an implementation of a JSON (http://json.org) reader and writer in