From 5ce8206d715cffa3b892c61f05c397b4d9a4987f Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 3 Jan 2017 22:59:50 +0100 Subject: spec: use bcond_* check Version: 2.4.6-14 --- libtool.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libtool.spec b/libtool.spec index 710c555..01fec00 100644 --- a/libtool.spec +++ b/libtool.spec @@ -4,7 +4,7 @@ # See the bug #429880 %global gcc_version %(gcc -dumpversion || echo "666") -%{!?runselftest:%global runselftest 1} +%bcond_without check Summary: The GNU Portable Library Tool Name: libtool @@ -112,7 +112,7 @@ make %{?_smp_mflags} %check -%if 0%{?runselftest} +%if %{with check} make check VERBOSE=yes || { cat testsuite.log ; false ; } %endif @@ -172,6 +172,7 @@ fi %changelog * Tue Jan 03 2017 Pavel Raiskup - 2.4.6-14 - remove duplicate Requires: entry +- use bcond_without instead of PostgreSQL-packaging 'runselftest' * Thu Dec 22 2016 Pavel Raiskup - 2.4.6-13 - bump: for gcc 6.3.1 -- cgit