Show the verbose RPM file list of your built package. Use "rpm -qlvp ..." (possibly just "rpmls -v ...").
Packaging symlinks works for thousands of packages in the Fedora package collection, so don't let us guess what mistake you may have inserted into your spec file.
@ Pablo
Quote:
|
ln -s libxyz-2.9.so.1 $RPM_BUILD_ROOT%{_libdir}/libxyz-2.9.so > /dev/null 2>&1 || :
|
The " > /dev/null 2>&1 || :" is a bad idea, however, since it would be bad packaging practice to hide the output and to ignore the error return value. Just create the softlink and let the build fail if there is an error. Optionally avoid wildcards in the %files section for the library file names, so it will also fail to build if the lib version changes (and the SONAME has changed very likely, too), which forces you to learn about this.