21 |
|
--without-tcl \ |
22 |
|
--without-tk \ |
23 |
|
--prefix=%{i} |
24 |
< |
|
24 |
> |
# This is a workaround for the fact that sort from coreutils 5.96 doesn't |
25 |
> |
# like "sort +0 -1", not really something specific to ppc64/ydl5.0 |
26 |
> |
if [ "$(uname -m)" == "ppc64" ] |
27 |
> |
then |
28 |
> |
perl -p -i -e "s|\+0 \-1|-k1,1|g" dotneato/common/Makefile |
29 |
> |
fi |
30 |
|
make |
31 |
|
%post |
32 |
|
perl -p -i -e "s|%instroot|$RPM_INSTALL_PREFIX|" $RPM_INSTALL_PREFIX/%pkgrel/bin/dotneato-config `find $RPM_INSTALL_PREFIX/%pkgrel/lib/graphviz -name *.la` |