Would it not be better to remove
mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
only for Tumbleweed and Factory and not for Leap?
Leap 15.2:
[ 143s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pocl-1.5-lp152.63.1.x86_64/usr/usr/lib64/pocl/libllvmopencl.so
Would it not be better to remove
mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
only for Tumbleweed and Factory and not for Leap?
Leap 15.2:
[ 143s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pocl-1.5-lp152.63.1.x86_64/usr/usr/lib64/pocl/libllvmopencl.so
its devel project ... so why compatibility layer with released distro?
True. You are right.