Create rpm package for pjproject.

Michael Schwendt mschwendt at gmail.com
Mon Aug 15 10:21:51 UTC 2011


On Mon, 15 Aug 2011 11:31:29 +0200, MS (Mario) wrote:

> Hi to all,
> I'm trying to create the rpm packages for pjproject to help sflphone 
> request:
> https://bugzilla.redhat.com/show_bug.cgi?id=692131
> 
> Pjproject is a set of libraries written in C language for building 
> embedded/non-embedded VoIP applications.
> 
> My review request is here:
> https://bugzilla.redhat.com/show_bug.cgi?id=728302
> 
> I don't understand where is my mistake in spec file. I can't create packages 
> for 64 bit architecture, the install process try to put the files library in 
> '/usr/lib', not in '/usr/lib64' on my local system.

Well, some projects hardcode /usr/lib (and similar paths) in their build
framework without providing a simple command-line option to change it.
You may need to examine the files to find out where and why it thinks
/usr/lib is the place to use, then come up with a patch (or a sed substitution)
in the %prep section, so you can insert the value %{_libdir} expands to.


More information about the devel mailing list