[CentOS] libsrtp package anywhere?

Wed Jan 26 16:35:30 UTC 2011
Bob Beers <bob.beers at gmail.com>

On Wed, Jan 26, 2011 at 11:04 AM, JohnS <jses27 at 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

-- 
-Bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsrtp.spec.fc13-el5.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20110126/73845832/attachment-0004.bin>