diff options
Diffstat (limited to 'redhat/dependencies/tqt3/tqt3.spec')
-rw-r--r-- | redhat/dependencies/tqt3/tqt3.spec | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec index 3f67b809b..1b85211a5 100644 --- a/redhat/dependencies/tqt3/tqt3.spec +++ b/redhat/dependencies/tqt3/tqt3.spec @@ -128,7 +128,7 @@ BuildRequires: cups-devel # LIBAUDIO support %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %define with_nas 1 -%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mdkver} >= 5000000 %define libaudio_devel %{_lib}audio-devel nas-devel %else %define libaudio_devel nas-devel @@ -260,20 +260,15 @@ BuildRequires: xorg-x11-proto-devel %endif # MESA support -%if 0%{?rhel} || 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} BuildRequires: mesa-libGL-devel BuildRequires: mesa-libGLU-devel %endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%if 0%{?pclinuxos} -BuildRequires: MesaGLU-devel -%else -%if 0%{?mdkver} -BuildRequires: %{_lib}glu-devel -%else -BuildRequires: mesaglu-devel -%endif +%if 0%{?mgaversion} || 0%{?pclinuxos} +BuildRequires: %{_lib}mesaglu1-devel %endif +%if 0%{?mdkver} >= 5000000 +BuildRequires: %{_lib}glu-devel %endif %if 0%{?suse_version} BuildRequires: Mesa-libGL-devel |