added requirements for the Xorg ABI it is built for [release 23.0.0-2mamba;Sun Feb 26 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:37:54 +01:00
parent 00a56675a1
commit 616395c836

View File

@ -1,6 +1,7 @@
%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2)
Name: xf86-video-amdgpu Name: xf86-video-amdgpu
Version: 23.0.0 Version: 23.0.0
Release: 1mamba Release: 2mamba
Summary: AMD Radeon video driver for the Xorg X server Summary: AMD Radeon video driver for the Xorg X server
Group: System/X11 Group: System/X11
Vendor: openmamba Vendor: openmamba
@ -15,7 +16,11 @@ BuildRequires: libdrm-devel
BuildRequires: libmesa-devel BuildRequires: libmesa-devel
BuildRequires: libudev-devel BuildRequires: libudev-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: xorg-server-devel >= 21.1.3-1mamba
Provides: xorgdrvvideo
Provides: xorg-drv-video-amdgpu Provides: xorg-drv-video-amdgpu
Requires: xorg-server >= %{xorg_ver}
Requires: xorg-server <= %{xorg_ver}.255
%description %description
AMD Radeon video driver for the Xorg X server. AMD Radeon video driver for the Xorg X server.
@ -38,13 +43,15 @@ AMD Radeon video driver for the Xorg X server.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
#%{_libdir}/xorg/modules/drivers/amdgpu_drv.la
%{_libdir}/xorg/modules/drivers/amdgpu_drv.so %{_libdir}/xorg/modules/drivers/amdgpu_drv.so
%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf %{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
%{_mandir}/man4/amdgpu.4* %{_mandir}/man4/amdgpu.4*
%doc COPYING %doc COPYING
%changelog %changelog
* Sun Feb 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 23.0.0-2mamba
- added requirements for the Xorg ABI it is built for
* Sat Feb 25 2023 Automatic Build System <autodist@mambasoft.it> 23.0.0-1mamba * Sat Feb 25 2023 Automatic Build System <autodist@mambasoft.it> 23.0.0-1mamba
- automatic version update by autodist - automatic version update by autodist