Closed
Description
Per https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-files, Files
(and Checksum-XX)-sections must have the first line empty, ex:
Files:
c6f698f19f2a2aa07dbb9bbda90a2754 571925 example_1.2.orig.tar.gz
Yet rules_deb
produces:
Files: c6f698f19f2a2aa07dbb9bbda90a2754 571925 example_1.2.orig.tar.gz
The relevant code does try to do the right thing when generating the fields
rules_pkg/pkg/private/deb/make_deb.py
Lines 299 to 307 in 547077f
But MakeDebianControlField()
promptly strips it away
rules_pkg/pkg/private/deb/make_deb.py
Lines 134 to 138 in 547077f
A trivial fix could be to write out Files:\n " + " ".join([...])
and skip calling MakeDebianControlField()
?