diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-05-15 14:23:03 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-05-15 14:23:03 +0200 |
commit | 9633584c154576f5a0b718475185d10cad882d25 (patch) | |
tree | db0528c9dba3285ff01b4591e4b39121713b9680 /libosinfo.spec.in | |
parent | 6afd65237e2ce72393448c3bda61e237b976cf84 (diff) | |
download | libosinfo-9633584c154576f5a0b718475185d10cad882d25.tar.gz |
Fix spec file for RHEL builds
%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.
Diffstat (limited to 'libosinfo.spec.in')
-rw-r--r-- | libosinfo.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |