From 0ed1d615fe50a76876782b00b969089825eff5de861ca5fc2bd37c7bfcd6f8bc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 21 Jul 2016 12:04:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=113 --- kmod.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kmod.spec b/kmod.spec index 6ced167..ea6f3c0 100644 --- a/kmod.spec +++ b/kmod.spec @@ -151,7 +151,8 @@ ln -s "%_bindir/kmod" "$b/bin/" ls -l "$b/%_libdir/" %if "%_libdir" != "/%_lib" ln -s "%_libdir/libkmod.so.2.3.1" "$b/%_lib/" -cp -a "%_libdir/libkmod.so.2" "$b/%_lib/" +ln -s libkmod.so.2.3.1 "$b/%_lib/libkmod.so.2" +ls -l "$b/%_lib/" %endif %post