how to create a symbolic link in a rpm
What is the best way to create a symbolic link in a rpm?
I created symbolic link in the %pre section in a .spec file but there is an error during installation:
%pre server
%{_sbindir}/groupadd -r -g %{sshd_gid} sshd 2>/dev/null || :
%{_sbindir}/useradd -d /var/empty/sshd -s /bin/false -u %{sshd_uid} \
-g sshd -M -r sshd 2>/dev/null || :
ln -s -f /usr/lib/libcrypto.so.0 /usr/lib/libcrypto.so.2
# rpm -Uvh app_server-server-4.9.9-9.i386.rpm
error: failed dependencies:
libcrypto.so.2 is needed by app_server-server-4.9.9-9
|