From 01113c97df100ff5a25abeeff6deda45294b16bb2587a356497583400b7542b8 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 3 Feb 2017 12:03:36 +0000 Subject: [PATCH] move 10-amdgpu.conf to /etc/X11/xorg.conf.d OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-amdgpu?expand=0&rev=26 --- xf86-video-amdgpu.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xf86-video-amdgpu.spec b/xf86-video-amdgpu.spec index fb16660..40f9f31 100644 --- a/xf86-video-amdgpu.spec +++ b/xf86-video-amdgpu.spec @@ -77,6 +77,10 @@ find %{buildroot} -type f -name "*.la" -delete -print rm -f %{buildroot}%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf %{__mkdir_p} %{buildroot}%{pci_ids_dir} cp %{S:3} %{buildroot}%{pci_ids_dir}/ +%else +%{__mkdir_p} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d +mv %{buildroot}/%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf \ + %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/ %endif %files @@ -88,7 +92,7 @@ cp %{S:3} %{buildroot}%{pci_ids_dir}/ %if 0%{?pci_ids_dir:1} %{pci_ids_dir}/amdgpu.ids %else -%config %{_datadir}/X11/xorg.conf.d/10-amdgpu.conf +%config %{_sysconfdir}/X11/xorg.conf.d/10-amdgpu.conf %endif %changelog