diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-10-13 13:29:18 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-10-13 13:29:18 +0200 |
commit | aeb9b430c38d035ceb697d04b8cafa4c9003dc0a (patch) | |
tree | ee1a38a966414b895f1b5e098e10bbcebecc738c | |
parent | 61c21fce06a64b5cc7ca4c483070c83ba91d6f9d (diff) | |
download | nx-libs-aeb9b430c38d035ceb697d04b8cafa4c9003dc0a.tar.gz nx-libs-aeb9b430c38d035ceb697d04b8cafa4c9003dc0a.tar.bz2 nx-libs-aeb9b430c38d035ceb697d04b8cafa4c9003dc0a.zip |
nx-libs.spec: fix nx-libs builds in mock
-rw-r--r-- | nx-libs.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index 28b9fd80d..92b2f3411 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -50,7 +50,7 @@ BuildRequires: xorg-x11-libfontenc-devel BuildRequires: xorg-x11-util-devel %endif -%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} +%if 0%{?fedora} || 0%{?rhel} BuildRequires: expat-devel BuildRequires: fontconfig-devel BuildRequires: freetype-devel @@ -63,7 +63,7 @@ BuildRequires: libxml2-devel BuildRequires: xorg-x11-proto-devel BuildRequires: zlib-devel -%if 0%{?suse_version} >= 1130 || 0%{?fedora_version} +%if 0%{?suse_version} >= 1130 || 0%{?fedora} %define cond_noarch BuildArch: noarch %else %define cond_noarch %nil |