From d7d55cf2e0e7f174b5553690ab762f88f81e1e3476417ae4b064bd05fd025578 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 17 Feb 2016 12:23:37 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=2 --- glslang.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/glslang.spec b/glslang.spec index c96feb6..9f5ee74 100644 --- a/glslang.spec +++ b/glslang.spec @@ -61,8 +61,10 @@ make %{?_smp_mflags} %install %cmake_install -mkdir -p "%buildroot/%_libdir" -mv "%buildroot/%_prefix/lib"/*.a "%buildroot/%_libdir/" +if test "%_lib" != lib; then + mkdir -p "%buildroot/%_libdir" + mv "%buildroot/%_prefix/lib"/*.a "%buildroot/%_libdir/" +fi %files devel %defattr(-,root,root)