Dominique Leuenberger 2021-04-18 19:45:20 +00:00 committed by Git OBS Bridge
commit 922af3bc2e
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Apr 17 16:45:53 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec file (move license to licensedir)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 7 12:46:02 CEST 2020 - tiwai@suse.de Thu May 7 12:46:02 CEST 2020 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package xf86-video-amdgpu # spec file for package xf86-video-amdgpu
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -26,9 +26,9 @@ Release: 0
Summary: AMDGPU video driver for the Xorg X server Summary: AMDGPU video driver for the Xorg X server
License: MIT License: MIT
Group: System/X11/Servers/XF86_4 Group: System/X11/Servers/XF86_4
Url: http://xorg.freedesktop.org/ URL: https://xorg.freedesktop.org/
Source: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2 Source: https://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
Source1: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2.sig Source1: https://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2.sig
Source2: %{name}.keyring Source2: %{name}.keyring
Source3: amdgpu.ids Source3: amdgpu.ids
Patch0: u_fno-common.patch Patch0: u_fno-common.patch
@ -55,7 +55,6 @@ BuildRequires: pkgconfig(xproto)
Supplements: modalias(xorg-x11-server:pci:v00001002d*sv*sd*bc03sc*i*) Supplements: modalias(xorg-x11-server:pci:v00001002d*sv*sd*bc03sc*i*)
# This was part of the xorg-x11-driver-video package up to version 7.6 # This was part of the xorg-x11-driver-video package up to version 7.6
Conflicts: xorg-x11-driver-video <= 7.6 Conflicts: xorg-x11-driver-video <= 7.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
%{x11_abi_videodrv_req} %{x11_abi_videodrv_req}
@ -72,7 +71,7 @@ Its autodetects whether your hardware has a CI or newer AMD Graphics Card
%build %build
autoreconf -fiv autoreconf -fiv
%configure %configure
make %{?_smp_mflags} V=1 %make_build
%install %install
%make_install %make_install
@ -84,8 +83,8 @@ cp %{SOURCE3} %{buildroot}%{pci_ids_dir}/
%endif %endif
%files %files
%defattr(-,root,root) %license COPYING
%doc COPYING README.md %doc README.md
%dir %{_libdir}/xorg/modules/drivers %dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/amdgpu_drv.so %{_libdir}/xorg/modules/drivers/amdgpu_drv.so
%{_mandir}/man4/amdgpu.4%{?ext_man} %{_mandir}/man4/amdgpu.4%{?ext_man}