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
This commit is contained in:
parent
2eedf10377
commit
01113c97df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user