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