[Bug 694287] Review Request: openCOLLADA - 3D import and export libraries

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 27 13:33:29 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=694287

--- Comment #39 from Hans de Goede <hdegoede at redhat.com> 2011-04-27 09:33:28 EDT ---
Hi,

(In reply to comment #37)
> > The lib files should be installed under the same name as you can find them
> > under the ./lib dir, actually you can just do:
> > mkdir -p $RPM_BUILD_ROOT%{_libdir}
> > cp -a lib/* $RPM_BUILD_ROOT%{_libdir}
> > 
> > For the so files (still need to also cp the include dirs) from %install since
> > cmake also puts the needed symlinks, etc. under ./lib. Talking about the
> > include dirs, you should now no longer install the include dirs for libBuffer,
> > libftoa and libUTF.
> > 
> > The %files entry for the so files in the main package then becomes:
> > 
> > %{_libdir}/lib*.so.svn%{AGE}
> 
> Shouldn't I just make this "%{_libdir}/lib*"? Otherwise it doesn't pick up the
> symbolic link .so files.

The .so files belong in the -devel sub package, where as the main package gets
the lib*.so.svn%{AGE} files, the .so symlinks are used to determine which lib
to link to when building only, they are not used runtime (the dynamic linker
searches for the soname runtime, which is the lib*.so.svn%{AGE} file).

Regards,

Hans

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list