diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index a0ae968..b9707ba 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -84,6 +84,9 @@ %if 0%{with_opencl} %define have_gallium 1 +%if 0%{?suse_version} < 1550 + %define _distconfdir /etc +%endif %else %define have_gallium 0 %endif diff --git a/Mesa.spec b/Mesa.spec index 89c801b..8cdb713 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -83,6 +83,9 @@ %if 0%{with_opencl} %define have_gallium 1 +%if 0%{?suse_version} < 1550 + %define _distconfdir /etc +%endif %else %define have_gallium 0 %endif