This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]