[PATCH cygport] Produce obsoletes: headers in .hint files

Yaakov Selkowitz yselkowitz@cygwin.com
Tue Feb 13 06:31:00 GMT 2018


On 2018-02-06 15:13, Jon Turney wrote:
>  lib/pkg_pkg.cygpart | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/lib/pkg_pkg.cygpart b/lib/pkg_pkg.cygpart
> index 0dba03d..aa6f0e8 100644
> --- a/lib/pkg_pkg.cygpart
> +++ b/lib/pkg_pkg.cygpart
> @@ -718,6 +718,11 @@ requires: ${pkg_bin_requires} ${!pkg_requires_var}
>  sdesc: "${!pkg_summary_var:-${SUMMARY}}"
>  ldesc: "${!pkg_description_var:-${DESCRIPTION:-${!pkg_summary_var:-${SUMMARY}}}}"
>  _EOF
> +			if [ -n "${!pkg_obsoletes_var}" ]
> +			then
> +				cat >> ${distdir}/${PN}/${distsubdir}/${pkg_name[${n}]}-${PVR}.hint <<-_EOF
> +obsoletes: ${!pkg_obsoletes_var}

This is missing the closing _EOF in both hunks.  (The testsuite did its
job though, and failed pretty badly.)  Pushed, with that change.

-- 
Yaakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20180213/165ae162/attachment.sig>


More information about the Cygwin-apps mailing list