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.
I try to use mock to create packages for other distro but I have similar error to my koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3272843
Could anybody give me a suggestion?
Thank you very much.
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.
In data 15/8/2011 12:21:51, Michael Schwendt ha scritto:
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.
Thank you, I create a little patch for the Makefile, I create the packages without problems.
https://bugzilla.redhat.com/show_bug.cgi?id=728302#c9
Thank you!