Yaniv Bronhaim has uploaded a new change for review.

Change subject: Enable autotools and run check depends rhev_build or 
fedora_koji_build
......................................................................

Enable autotools and run check depends rhev_build or fedora_koji_build

For build environment that requires autotools and miss pyflakes and
pep8 for make check.

Change-Id: Ibcd6bca40897db76f1461e2f84600efa8b8532ce
Signed-off-by: Yaniv Bronhaim <[email protected]>
---
M vdsm.spec.in
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/17/36417/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index ddded0c..546d3c3 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -21,13 +21,18 @@
 %global rhev_build_config_opt     --enable-rhev
 %endif
 
+
+%if 0%{rhev_build} || 0%{fedora_koji_build}
+%{!?enable_autotools:%define enable_autotools 1}
+%else
 # Default to skipping autoreconf.  Distros can change just this one line
 # (or provide a command-line override) if they backport any patches that
 # touch configure.ac or Makefile.am.
 %{!?enable_autotools:%define enable_autotools 0}
+%endif
 
 # Skips check since rhel default repos lack pep8 and pyflakes
-%if ! 0%{?rhel}
+%if ! 0%{?rhel} && ! 0%{?rhev_build} && ! 0%{fedora_koji_build}
 %{!?with_check:%global with_check 1}
 %else
 %{!?with_check:%global with_check 0}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibcd6bca40897db76f1461e2f84600efa8b8532ce
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to