From: Cole Robinson Date: Thu, 23 Jun 2016 20:23:11 +0000 (-0400) Subject: spec: Fix error in last backport X-Git-Tag: v1.2.18.4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff4c47a9f4f49eebebf9f2c0be8f704f10100008;p=thirdparty%2Flibvirt.git spec: Fix error in last backport --- diff --git a/libvirt.spec.in b/libvirt.spec.in index c1453a9bad..3fa5fc4141 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -344,6 +344,14 @@ %endif +# The RHEL-5 Xen package has some feature backports. This +# flag is set to enable use of those special bits on RHEL-5 +%if 0%{?rhel} == 5 + %define with_rhel5 1 +%else + %define with_rhel5 0 +%endif + %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 %define with_systemd_macros 1 %else