diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index e53eda2..9176c2a 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -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 diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 16c94d5..3474cc7 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -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) diff --git a/Mesa.changes b/Mesa.changes index e53eda2..9176c2a 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -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 diff --git a/Mesa.spec b/Mesa.spec index c882f19..e340fc5 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -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) diff --git a/rpmlintrc b/rpmlintrc new file mode 100644 index 0000000..13e05b9 --- /dev/null +++ b/rpmlintrc @@ -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")