summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2017-01-03 22:59:50 +0100
committerPavel Raiskup <praiskup@redhat.com>2017-01-03 23:00:34 +0100
commit5ce8206d715cffa3b892c61f05c397b4d9a4987f (patch)
tree158ec045213ac1dfa64f6e63fef3e63c79e1eb78
parenta3591d3cf502f1c77a543031736023dc04c49b17 (diff)
downloadlibtool-5ce8206d715cffa3b892c61f05c397b4d9a4987f.tar.gz
libtool-5ce8206d715cffa3b892c61f05c397b4d9a4987f.tar.xz
libtool-5ce8206d715cffa3b892c61f05c397b4d9a4987f.zip
spec: use bcond_* check
Version: 2.4.6-14
-rw-r--r--libtool.spec5
1 files 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 <praiskup@redhat.com> - 2.4.6-14
- remove duplicate Requires: entry
+- use bcond_without instead of PostgreSQL-packaging 'runselftest'
* Thu Dec 22 2016 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-13
- bump: for gcc 6.3.1