- move xorg.conf.d snippet from /etc/X11/xorg.conf.d to

/usr/share/X11/xorg.conf.d (boo#1139692)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-amdgpu?expand=0&rev=53
This commit is contained in:
Stefan Dirsch 2019-07-30 12:53:15 +00:00 committed by Git OBS Bridge
parent e7c92420cd
commit 591df67694
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 30 12:49:36 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- move xorg.conf.d snippet from /etc/X11/xorg.conf.d to
/usr/share/X11/xorg.conf.d (boo#1139692)
-------------------------------------------------------------------
Fri Mar 22 13:08:07 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -77,10 +77,6 @@ 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 %{SOURCE3} %{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
@ -93,7 +89,8 @@ mv %{buildroot}/%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf \
%dir %{pci_ids_dir}
%{pci_ids_dir}/amdgpu.ids
%else
%config %{_sysconfdir}/X11/xorg.conf.d/10-amdgpu.conf
%dir %{_datadir}/X11/xorg.conf.d
%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
%endif
%changelog