On Wed, Jan 26, 2011 at 11:04 AM, JohnS jses27@gmail.com wrote:
On Wed, 2011-01-26 at 11:02 -0500, JohnS wrote:
The problem is RPM is trying to install into the main file system whereas el5 rpm does not need an incantation like so.
I mean el6 sorry..
John
Yep, that make sense.
For completeness, there is another mod to the spec file that is required in the %install scriptlet.
patch file fc13-el5 attached.
So final process was:
$ rpm -ivh libsrtp-1.4.4-1.20101004cvs.fc13.src.rpm
patch libsrtp.spec < libsrtp.spec.fc13-el5.patch
$ rpmbuild -ba libstrp.spec
$ rpmbuild --rebuild --target i686 ~/redhat/SRPMS/libsrtp-1.4.4-1.20101004cvs.el5.src.rpm
Now I have rpms for i686 and i386 for el5. :-D