- no longer run ldconfig for the follwing backend (ICD) drivers,

since it's considered wrong: xvmc, vdpau, va, opencl, and vulkan;
  required adding a rpmlintrc file with appropriate rules
  (boo#1082316)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=713
This commit is contained in:
Stefan Dirsch 2018-02-26 14:34:53 +00:00 committed by Git OBS Bridge
parent c4e366ec4e
commit b75f2de374
5 changed files with 25 additions and 64 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Feb 23 13:36:23 UTC 2018 - sndirsch@suse.com
- no longer run ldconfig for the follwing backend (ICD) drivers,
since it's considered wrong: xvmc, vdpau, va, opencl, and vulkan;
required adding a rpmlintrc file with appropriate rules
(boo#1082316)
-------------------------------------------------------------------
Fri Feb 23 13:25:16 UTC 2018 - sndirsch@suse.com

View File

@ -941,26 +941,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%postun -n libxatracker2 -p /sbin/ldconfig
%post -n libXvMC_nouveau -p /sbin/ldconfig
%postun -n libXvMC_nouveau -p /sbin/ldconfig
%post -n libXvMC_r600 -p /sbin/ldconfig
%postun -n libXvMC_r600 -p /sbin/ldconfig
%post -n libvdpau_r300 -p /sbin/ldconfig
%postun -n libvdpau_r300 -p /sbin/ldconfig
%post -n libvdpau_r600 -p /sbin/ldconfig
%postun -n libvdpau_r600 -p /sbin/ldconfig
%post -n libvdpau_radeonsi -p /sbin/ldconfig
%postun -n libvdpau_radeonsi -p /sbin/ldconfig
%post libglapi0 -p /sbin/ldconfig
%postun libglapi0 -p /sbin/ldconfig
@ -973,18 +953,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%postun -n Mesa-libd3d -p /sbin/ldconfig
%post -n Mesa-libOpenCL -p /sbin/ldconfig
%postun -n Mesa-libOpenCL -p /sbin/ldconfig
%post -n Mesa-libva -p /sbin/ldconfig
%postun -n Mesa-libva -p /sbin/ldconfig
%post -n libvulkan_intel -p /sbin/ldconfig
%postun -n libvulkan_intel -p /sbin/ldconfig
%if !%{drivers}
%files
%defattr(-,root,root)

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Feb 23 13:36:23 UTC 2018 - sndirsch@suse.com
- no longer run ldconfig for the follwing backend (ICD) drivers,
since it's considered wrong: xvmc, vdpau, va, opencl, and vulkan;
required adding a rpmlintrc file with appropriate rules
(boo#1082316)
-------------------------------------------------------------------
Fri Feb 23 13:25:16 UTC 2018 - sndirsch@suse.com

View File

@ -940,26 +940,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%postun -n libxatracker2 -p /sbin/ldconfig
%post -n libXvMC_nouveau -p /sbin/ldconfig
%postun -n libXvMC_nouveau -p /sbin/ldconfig
%post -n libXvMC_r600 -p /sbin/ldconfig
%postun -n libXvMC_r600 -p /sbin/ldconfig
%post -n libvdpau_r300 -p /sbin/ldconfig
%postun -n libvdpau_r300 -p /sbin/ldconfig
%post -n libvdpau_r600 -p /sbin/ldconfig
%postun -n libvdpau_r600 -p /sbin/ldconfig
%post -n libvdpau_radeonsi -p /sbin/ldconfig
%postun -n libvdpau_radeonsi -p /sbin/ldconfig
%post libglapi0 -p /sbin/ldconfig
%postun libglapi0 -p /sbin/ldconfig
@ -972,18 +952,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%postun -n Mesa-libd3d -p /sbin/ldconfig
%post -n Mesa-libOpenCL -p /sbin/ldconfig
%postun -n Mesa-libOpenCL -p /sbin/ldconfig
%post -n Mesa-libva -p /sbin/ldconfig
%postun -n Mesa-libva -p /sbin/ldconfig
%post -n libvulkan_intel -p /sbin/ldconfig
%postun -n libvulkan_intel -p /sbin/ldconfig
%if !%{drivers}
%files
%defattr(-,root,root)

9
rpmlintrc Normal file
View File

@ -0,0 +1,9 @@
# This line is mandatory to access the configuration functions
from Config import *
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postin")
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postun")
addFilter("libXvMC_nouveau.*library-without-ldconfig-postin")
addFilter("libXvMC_nouveau.*library-without-ldconfig-postun")
addFilter("libXvMC_r600.*library-without-ldconfig-postin")
addFilter("libXvMC_r600.*library-without-ldconfig-postun")