Ticket #270: parrot.spec.patch
File parrot.spec.patch, 0.9 KB (added by gerd, 13 years ago) |
---|
-
parrot.spec
old new 47 47 tools/dev/mk_manifests.pl 48 48 49 49 %build 50 51 if test "%{_vendor}" = "suse" 52 then 53 LIBS='-lncurses -lm' 54 else 55 LIBS='-lcurses -lm' 56 fi 57 50 58 %{__perl} Configure.pl \ 51 59 --prefix=%{_usr} \ 52 60 --libdir=%{_libdir} \ … … 59 67 --parrot_is_shared \ 60 68 --lex=/usr/bin/flex \ 61 69 --yacc=/usr/bin/yacc \ 62 --libs= '-lcurses -lm'70 --libs="$LIBS" 63 71 64 72 export LD_LIBRARY_PATH=$( pwd )/blib/lib 65 73 make … … 75 83 export LD_LIBRARY_PATH=$( pwd )/blib/lib 76 84 make install DESTDIR=$RPM_BUILD_ROOT 77 85 78 # Drop the docs so rpm can pick them up itself. 79 rm -rf $RPM_BUILD_ROOT /%{_docdir}/parrot86 # Drop the docs so rpm can pick them up itself. (necessary for SuSE) 87 rm -rf $RPM_BUILD_ROOT%{_usr}/share/doc/parrot 80 88 81 89 # Force permissions on doc directories. 82 90 find docs examples -type d -exec chmod 755 {} \;