Skip to content

Commit

Permalink
Make sure %with_vala is defined for newer RHELs
Browse files Browse the repository at this point in the history
We want to build the vala bindings on recent RHELs. Given than
%with_introspection is defined for fedora >= 15 and rhel > 6 which
are exactly the versions for which we want to build the vala bindings,
and given that the vala bindings are to be disabled when introspection
is disabled, we can set %with_vala to the same value as %with_introspection.
  • Loading branch information
cfergeau committed May 15, 2012
1 parent cd439ef commit ebf405f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libvirt-glib.spec.in
Expand Up @@ -16,9 +16,7 @@
%if 0%{?rhel} && 0%{?rhel} < 7
%define with_python 1
%endif
%if 0%{with_introspection} && 0%{?fedora} > 15
%define with_vala 1
%endif
%define with_vala %{with_introspection}

%define libvirt_version 0.9.10

Expand Down

0 comments on commit ebf405f

Please sign in to comment.