[PlanetCCRMA] jack prelink

Lawrie Abbott lawrieabbott@iinet.net.au
Thu Apr 22 19:58:02 2004


Fernando Pablo Lopez-Lezcano wrote:

>>Just a reminder in case you have forgotten.
>>    
>>
>
>Of course I had :-)
>
>  
>
>>Back in Feb I mentioned that the prelink.patch can be done away with if 
>>prelink >= 0.3.0-17 is used.
>>I added  the following to  my jack.spec (tested on rh9 and fc1 ).
>>
>>%define distro %(awk '/Red Hat/ {print "rh"};/Fedora/ {print "fc"} ' 
>>2>/dev/null </etc/redhat-release) 
>>
>>%if %{distro} == "fc"
>>Requires:       prelink >= 0.3.0-17
>>%endif
>>
>>%post
>>%if %{distro} == "fc"
>>grep 'b /usr/bin/jackd' /etc/prelink.conf > /dev/null 2>&1
>>  if [ "$?" == "1" ]; then
>>     echo '-b /usr/bin/jackd' >> /etc/prelink.conf
>>  fi
>>%endif
>>    
>>
>
>I'm usually very reluctant to incorporate non-official redhat/fedora
>packages that override the latest official ones, at least when it can be
>avoided. Which prelink version are you using? Where did you get it from?
>(sorry if you told me before...)
>
>-- Fernando
>
>
>
>  
>
Hi Fernando,
I used an unmodified version of the then latest SRPM from Fedora 
development.  
http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/ 
. I'm using version 0.3.0-20 .  Current is
http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/prelink-0.3.1-2.src.rpm.

--
Lawrie