diff --git a/libosinfo.spec b/libosinfo.spec index 48a2218..662990c 100644 --- a/libosinfo.spec +++ b/libosinfo.spec @@ -6,7 +6,7 @@ %define with_gir 0 -%if 0%{fedora} >= 15 +%if 0%{?fedora} >= 15 || 0{?rhel} >= 7 %define with_gir 1 %endif