Your message dated Wed, 20 Jun 2018 03:05:49 +0000
with message-id <[email protected]>
and subject line Bug#900476: fixed in vim 2:8.1.0089-1
has caused the Debian Bug report #900476,
regarding vim-runtime: Wrong debcontrolArchitecture keyword
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
900476: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900476
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim-runtime
Version: 2:8.0.1766-1
Severity: normal
Tags: patch

Dear Maintainer,

when show syntax of debcontrol file, it shows,

```
debcontrolArchitecture xxx contained any-sh3eb any-sh3eb kfreebsd-any any-sparc 
any-sparc any-ppc64 any-ppc64 any hurd-i386 kopensolaris-any
                   contained any-mips64el any-mips64el any-avr32 any-avr32 
any-x32 any-x32 all any-i386 any-i386 kopensolaris-i386 any-mipsel
                   contained any-mipsel netbsd-alpha any-lpia any-lpia 
any-powerpc any-powerpc any-armeb any-armeb kfreebsd-amd64 any-armel
                   contained any-armel any-alpha any-alpha any-ia64 any-ia64 
any-m68k any-m68k netbsd-any any-m32r any-m32r any-armhf any-armhf
                   contained any-sparc64 any-sparc64 any-hppa any-hppa 
linux-any any-sh any-sh any-powerpcspe any-powerpcspe any-arm64 any-arm64
                   contained knetbsd-i386 any-s390 any-s390 any-s390x any-s390x 
kfreebsd-i386 any-mips any-mips hurd-any knetbsd-any any-sh4eb
                   contained any-sh4eb any-sh3 any-sh3 any-sh4 any-sh4 
any-ppc64el any-ppc64el netbsd-i386 any-amd64 any-amd64
                   links to Normal
```

As you can see, there're duplicated any-amd64, but no amd64.

Patch is attached, generated upon
https://salsa.debian.org/vim-team/vim-debian repo.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim-nox [vim]  2:8.0.1766-1

vim-runtime suggests no packages.

-- no debconf information
From 6d49735f68d38013e1df439ca96ec53082cacad8 Mon Sep 17 00:00:00 2001
From: Shengjing Zhu <[email protected]>
Date: Thu, 31 May 2018 17:23:45 +0800
Subject: [PATCH] fix debcontrolArchitecture keyword

after map(s:archs, xxx), s:archs has changed. so the keyword
never contains original s:archs.

move the join(s:archs) above the map function. To make the code
more tidy, also move the join(s:kernels) line.

Signed-off-by: Shengjing Zhu <[email protected]>
---
 syntax/debcontrol.vim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/syntax/debcontrol.vim b/syntax/debcontrol.vim
index 3504780..da19a1c 100644
--- a/syntax/debcontrol.vim
+++ b/syntax/debcontrol.vim
@@ -40,10 +40,10 @@ let s:pairs = [
 
 " Define some common expressions we can use later on
 syn keyword debcontrolArchitecture contained all any
-exe 'syn keyword debcontrolArchitecture contained '. join(map(s:kernels, {k,v -> v .'-any'}))
-exe 'syn keyword debcontrolArchitecture contained '. join(map(s:archs, {k,v -> 'any-'.v}))
 exe 'syn keyword debcontrolArchitecture contained '. join(s:archs)
 exe 'syn keyword debcontrolArchitecture contained '. join(s:pairs)
+exe 'syn keyword debcontrolArchitecture contained '. join(map(s:kernels, {k,v -> v .'-any'}))
+exe 'syn keyword debcontrolArchitecture contained '. join(map(s:archs, {k,v -> 'any-'.v}))
 
 unlet s:kernels s:archs s:pairs
 
-- 
2.17.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: vim
Source-Version: 2:8.1.0089-1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 19 Jun 2018 22:44:05 -0400
Source: vim
Binary: vim-common vim-gui-common vim-runtime vim-doc vim-tiny vim vim-gtk 
vim-gtk3 vim-nox vim-athena vim-gnome xxd
Architecture: source
Version: 2:8.1.0089-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Vim Maintainers <[email protected]>
Changed-By: James McCoy <[email protected]>
Description:
 vim        - Vi IMproved - enhanced vi editor
 vim-athena - Vi IMproved - enhanced vi editor - with Athena GUI
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - HTML documentation
 vim-gnome  - Vi IMproved - enhanced vi editor (dummy package)
 vim-gtk    - Vi IMproved - enhanced vi editor - with GTK2 GUI
 vim-gtk3   - Vi IMproved - enhanced vi editor - with GTK3 GUI
 vim-gui-common - Vi IMproved - Common GUI files
 vim-nox    - Vi IMproved - enhanced vi editor - with scripting languages suppo
 vim-runtime - Vi IMproved - Runtime files
 vim-tiny   - Vi IMproved - enhanced vi editor - compact version
 xxd        - tool to make (or reverse) a hex dump
Closes: 869965 900476
Changes:
 vim (2:8.1.0089-1) unstable; urgency=medium
 .
   * New upstream release
     + New syntax highlighting for machine-readable debian/copyright files.
       (Closes: #869965)
     + Fix mis-highlighting of architectures in debian/control files.  (Closes:
       #900476)
   * Change Maintainer to [email protected]
   * Add wildcard to binaries-have-file-conflict override between
     vim-tiny/vim-runtime to account for upstream releases.
Checksums-Sha1:
 3381727ee88ddf17b3dd43c60ae738559cdc6f93 2979 vim_8.1.0089-1.dsc
 72ddfe50e0dc5292e24c82247ff9324c58eb5fac 13663344 vim_8.1.0089.orig.tar.gz
 e795c3ba7e35203ba70c2a28fdf5d1d572bee464 156884 vim_8.1.0089-1.debian.tar.xz
 0b98a314a5687c7ec6fe8864fa14444f23d95026 15657 vim_8.1.0089-1_source.buildinfo
Checksums-Sha256:
 882ec2c8564a54d6615e8f73a1dff07096fb47917c8f7379db664fca2badb380 2979 
vim_8.1.0089-1.dsc
 54c5a3db5eae90616ff207c3165e674327979065885e002e3ea4b108d48d9a0c 13663344 
vim_8.1.0089.orig.tar.gz
 46c3ded6c5f8bfe635d29e5e2f09d727d0bb6dc39668e32c2ce803448cff8d7d 156884 
vim_8.1.0089-1.debian.tar.xz
 a46f10e6059a84ea9821f102e71b101d26cdbbd1ac51391e3415d6de92768fe4 15657 
vim_8.1.0089-1_source.buildinfo
Files:
 67b674468e6048dc9537213da95c696f 2979 editors optional vim_8.1.0089-1.dsc
 6c3f42203d0cf83b9b2c920b79874d15 13663344 editors optional 
vim_8.1.0089.orig.tar.gz
 00d81071fcb870fdc15c439cbc1f98c6 156884 editors optional 
vim_8.1.0089-1.debian.tar.xz
 8c0a24ac89afaa1384737c27dbd8b664 15657 editors optional 
vim_8.1.0089-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAlspwUlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9vL0xAAkzN/TzgJmTwrYPFfEZtKXYniMDQa
iLoqoLrTqJ7Tn3iPpPxsWel3mWZaj/jXSNu/zveVye4vw7+1cuuWWWPKJnRF2/4B
8dc7QOo5oi3TsZLUky6c23Cx4QIFtSccAshJhtt4h3AJsvQ3bvcF5QQNLTl9RlR9
wj3XavtWy59HO8pZrfww81fSfo0r7031M8rCHAAvH1zI5txsrE6y0D0E8anZ5cKB
rpDCoImhULoXRuLSGS3HYkedXKjz+t4Ucs116ibbsuBH7mVV2xZbo0XALjq6VB+d
H04Hdv5A95AUVVM4r9/LcJawllMhIIHdUf+rV8fHJv3eCGFzu9fzEE+LuwD1Ot1l
rG3Fes2jrRWda1sl59maHoNJdTGclWWpaYkgi+2ULJcByYZwE5tuvWgsUZNvnNza
s5YbG9X4rW8Iloi1hNrJrpvulRNsKjc2Ba3hr3DwM2X51Wm5flA/IVJyRr70NLQG
8HDJQp9fBWJDU1d0DZwn1o4DfuBEKAYkoG5U06XxSL/ykMJSDDD2VFRTViQF1gv1
nGJ+xuWJ+AbkwvmPz2H7ka6PQtcDXsEXqVjDATemjffsrDtnlcWU12D9j2CFTXM8
qc/+7bhVlp1b/DB+QErMVa1lTey3UOcXlxMgaEUjOARc7XTY0lFgzt8JMjGc7SPK
0iYDsumkVKaMWg8=
=ndu4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to