From b955f15ed20c9decfb4cda8c2ed719d48f75aa1afab8d63022460f1eccc35829 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 18 Jun 2020 14:16:43 +0000 Subject: [PATCH] define %_distconfdir to "/etc" on openSUSE/sle < TW OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=969 --- Mesa-drivers.spec | 3 +++ Mesa.spec | 3 +++ 2 files changed, 6 insertions(+) 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