[node-patches] Change in ovirt-node[master]: spec: Add perf for debugging

fabiand at redhat.com fabiand at redhat.com
Thu Feb 19 09:29:24 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: spec: Add perf for debugging
......................................................................

spec: Add perf for debugging

Change-Id: I0b3b4d5088872c80ffb3436b154ecfd952e80ce0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1148080
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M ovirt-node.spec.in
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/42/37942/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index f67858b..c1f9d68 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -11,6 +11,7 @@
 %define is_systemd %( test %{is_rhel_systemd} -eq 1 || test %{is_centos_systemd} = 1 || test %{is_fedora_systemd} = 1 && echo 1 || echo 0)
 %define dracutdir %(test -e /usr/share/dracut && echo "/usr/share/dracut/modules.d" || echo "/usr/lib/dracut/modules.d")
 %define is_el6 %(test 0%{?centos} -eq 06 || test 0%{?rhel} -eq 06 && echo 1 || echo 0)
+%define is_el7 %(test 0%{?centos} -eq 07 || test 0%{?rhel} -eq 07 && echo 1 || echo 0)
 
 # Igor can only be shipped on Fedora (because of python-uinput)
 %define with_igor 0%{?is_min_f19}
@@ -95,6 +96,9 @@
 # for applying patches in %post
 Requires(post):       patch
 %endif
+%if 0%{?is_el7}
+Requires:       perf
+%endif
 Requires:       system-release
 
 Requires:       %{name}-selinux = %{version}-%{release}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b3b4d5088872c80ffb3436b154ecfd952e80ce0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list