Change in vdsm[master]: Allowing to skip checks from command line

dcaroest at redhat.com dcaroest at redhat.com
Thu Nov 27 17:59:07 UTC 2014


David Caro has uploaded a new change for review.

Change subject: Allowing to skip checks from command line
......................................................................

Allowing to skip checks from command line

We were forcing the value of with_checks in the spec, overriding any value
passed from any external source (rpmmacros, command line, etc.)

Change-Id: Ie7b8ddeb9dec1f54bbed3d9b2945b1e59aeca723
Signed-off-by: David Caro <dcaroest at redhat.com>
---
M vdsm.spec.in
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/96/35696/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index c019b31..75fad7b 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -25,9 +25,12 @@
 
 # Skips check since rhel default repos lack pep8 and pyflakes
 %if ! 0%{?rhel}
-%global with_check 1
+%{!?with_check:%global with_check 1}
+%else
+%{!?with_check:%global with_check 0}
 %endif
 
+
 # Required paths
 %if 0%{?fedora}
 %global _polkitdir %{_datadir}/polkit-1/rules.d


-- 
To view, visit http://gerrit.ovirt.org/35696
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7b8ddeb9dec1f54bbed3d9b2945b1e59aeca723
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaroest at redhat.com>


More information about the vdsm-patches mailing list