On Tue, May 15, 2012 at 02:53:06PM +0200, Christophe Fergeau wrote: > %fedora is not defined when building for RHEL, so we need to use > %{?fedora} instead of %{fedora}. This commit also makes sure that > newer RHELs will build libosinfo with introspection support. > --- > libosinfo.spec.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libosinfo.spec.in b/libosinfo.spec.in > index 0e7714e..9d53151 100644 > --- a/libosinfo.spec.in > +++ b/libosinfo.spec.in > @@ -6,7 +6,7 @@ > > %define with_gir 0 > > -%if 0%{fedora} >= 15 > +%if 0%{?fedora} >= 15 || 0{?rhel} >= 7 > %define with_gir 1 > %endif ACK Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|