diff --git a/xf86-video-amdgpu.changes b/xf86-video-amdgpu.changes index 8546c37..2775f43 100644 --- a/xf86-video-amdgpu.changes +++ b/xf86-video-amdgpu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 17 16:45:53 UTC 2021 - Dirk Müller + +- modernize spec file (move license to licensedir) + ------------------------------------------------------------------- Thu May 7 12:46:02 CEST 2020 - tiwai@suse.de diff --git a/xf86-video-amdgpu.spec b/xf86-video-amdgpu.spec index 1423961..880f253 100644 --- a/xf86-video-amdgpu.spec +++ b/xf86-video-amdgpu.spec @@ -1,7 +1,7 @@ # # 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 # 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 License: MIT Group: System/X11/Servers/XF86_4 -Url: http://xorg.freedesktop.org/ -Source: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2 -Source1: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2.sig +URL: https://xorg.freedesktop.org/ +Source: https://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2 +Source1: https://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2.sig Source2: %{name}.keyring Source3: amdgpu.ids Patch0: u_fno-common.patch @@ -55,7 +55,6 @@ BuildRequires: pkgconfig(xproto) 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 Conflicts: xorg-x11-driver-video <= 7.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 s390x %{x11_abi_videodrv_req} @@ -72,7 +71,7 @@ Its autodetects whether your hardware has a CI or newer AMD Graphics Card %build autoreconf -fiv %configure -make %{?_smp_mflags} V=1 +%make_build %install %make_install @@ -84,8 +83,8 @@ cp %{SOURCE3} %{buildroot}%{pci_ids_dir}/ %endif %files -%defattr(-,root,root) -%doc COPYING README.md +%license COPYING +%doc README.md %dir %{_libdir}/xorg/modules/drivers %{_libdir}/xorg/modules/drivers/amdgpu_drv.so %{_mandir}/man4/amdgpu.4%{?ext_man}