--- CBEenv.spec.orig 2014-11-02 22:51:53.384698306 +0900 +++ CBEenv.spec 2014-11-02 22:46:02.782093555 +0900 @@ -43,16 +43,16 @@ # create the "automake" symlink to automake 1.10 when using the # Solaris default automake, because it only includes versioned # entries in /usr/bin -test -f %{?altroot}/usr/bin/automake-1.10 && { +test -f %{?altroot}/bin/automake && { cd $RPM_BUILD_ROOT%{_bindir} - ln -s %relroot/usr/bin/automake-1.10 automake + ln -s %relroot/bin/automake automake } || { echo 'automake-1.10 not found' exit 1 } -test -f %{?altroot}/usr/bin/aclocal-1.10 && { +test -f %{?altroot}/bin/aclocal && { cd $RPM_BUILD_ROOT%{_bindir} - ln -s %relroot/usr/bin/aclocal-1.10 aclocal + ln -s %relroot/bin/aclocal aclocal } || { echo 'aclocal-1.10 not found' exit 1 @@ -80,8 +80,8 @@ # create the "install" symlink to ginstall when using SUNWgnu-coreutils cd $RPM_BUILD_ROOT%{_bindir} # break if ginstall is not found -test -x /usr/bin/ginstall -ln -s %relroot/usr/bin/ginstall install +test -x /bin/install +ln -s %relroot/bin/install install %endif %if %(pkginfo -q CBEdiff && echo 0 || echo 1)