Ticket #270: parrot.spec.patch

File parrot.spec.patch, 0.9 KB (added by gerd, 13 years ago)

Generated with: diff -u parrot.spec parrot.spec.new > ~/parrot.spec.patch

  • parrot.spec

    old new  
    4747    tools/dev/mk_manifests.pl 
    4848 
    4949%build 
     50 
     51if test "%{_vendor}" = "suse" 
     52then 
     53    LIBS='-lncurses -lm' 
     54else 
     55    LIBS='-lcurses -lm' 
     56fi 
     57 
    5058%{__perl} Configure.pl \ 
    5159    --prefix=%{_usr} \ 
    5260    --libdir=%{_libdir} \ 
     
    5967    --parrot_is_shared \ 
    6068    --lex=/usr/bin/flex \ 
    6169    --yacc=/usr/bin/yacc \ 
    62     --libs='-lcurses -lm' 
     70    --libs="$LIBS" 
    6371 
    6472export LD_LIBRARY_PATH=$( pwd )/blib/lib 
    6573make 
     
    7583export LD_LIBRARY_PATH=$( pwd )/blib/lib 
    7684make install DESTDIR=$RPM_BUILD_ROOT 
    7785 
    78 # Drop the docs so rpm can pick them up itself. 
    79 rm -rf $RPM_BUILD_ROOT/%{_docdir}/parrot 
     86# Drop the docs so rpm can pick them up itself.   (necessary for SuSE) 
     87rm -rf $RPM_BUILD_ROOT%{_usr}/share/doc/parrot 
    8088 
    8189# Force permissions on doc directories. 
    8290find docs examples -type d -exec chmod 755 {} \;