Yaniv Bronhaim has uploaded a new change for review. Change subject: enable-rhev adds hooks and disable check on build ......................................................................
enable-rhev adds hooks and disable check on build Change-Id: If9048c960882140c1f34655a107b275f03436782 Signed-off-by: Yaniv Bronhaim <[email protected]> --- M vdsm.spec.in 1 file changed, 16 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/60/36360/1 diff --git a/vdsm.spec.in b/vdsm.spec.in index ddded0c..d5be289 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -19,15 +19,17 @@ %{!?rhev_build: %global rhev_build 0} %if %{rhev_build} %global rhev_build_config_opt --enable-rhev -%endif - +%{!?enable_autotools:%define enable_autotools 1} +%global with_hooks 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} %{!?with_check:%global with_check 1} %else %{!?with_check:%global with_check 0} @@ -73,7 +75,18 @@ Group: Applications/System License: GPLv2+ Url: http://www.ovirt.org/wiki/Vdsm +%if 0%{?rhev_build} +# The source for this package was pulled from upstream's vcs. +# Use the following commands to generate the tarball: +# git clone http://gerrit.ovirt.org/p/vdsm +# cd vdsm +# git reset --hard {vdsm_release} +# ./autogen.sh --system --enable-rhev +# make VERSION={version}-{vdsm_release} dist +Source0: %{vdsm_name}-%{version}%{?vdsm_relttag}.tar.gz +%else Source0: %{vdsm_name}-%{version}.tar.gz +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if !%{fedora_koji_build} -- To view, visit http://gerrit.ovirt.org/36360 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If9048c960882140c1f34655a107b275f03436782 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
