Previously, the installed versions were used instead of the ones
in the destdir.
%if [macos]
pp_macos_pkg_type=flat
pp_macos_bundle_id=ws.sudo.pkg.sudo
- pp_macos_pkg_license=$docdir/LICENSE
+ pp_macos_pkg_license=${pp_destdir}$docdir/LICENSE
pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt
- perl -pe 'last if (/^What/i && $seen++)' $docdir/NEWS > ${pp_wrkdir}/ReadMe.txt
+ perl -pe 'last if (/^What/i && $seen++)' ${pp_destdir}$docdir/NEWS > ${pp_wrkdir}/ReadMe.txt
%endif
%if X"$aix_freeware" = X"true"