@@ -190,11 +190,11 @@ func writeDebianControl(dir, gopkg, debsrc, debLib, debProg string, pkgType pack
190
190
// Source package:
191
191
192
192
fmt .Fprintf (f , "Source: %s\n " , debsrc )
193
- fmt .
Fprintf (
f ,
"Maintainer: Debian Go Packaging Team <[email protected] >\n " )
194
- fprintfControlField (f , "Uploaders" , []string {getDebianName () + " <" + getDebianEmail () + ">" })
195
193
fmt .Fprintf (f , "Section: golang\n " )
196
- fmt .Fprintf (f , "Testsuite: autopkgtest-pkg-go\n " )
197
194
fmt .Fprintf (f , "Priority: optional\n " )
195
+ fmt .
Fprintf (
f ,
"Maintainer: Debian Go Packaging Team <[email protected] >\n " )
196
+ fprintfControlField (f , "Uploaders" , []string {getDebianName () + " <" + getDebianEmail () + ">" })
197
+ fmt .Fprintf (f , "Rules-Requires-Root: no\n " )
198
198
199
199
builddeps := append ([]string {
200
200
"debhelper-compat (= 13)" ,
@@ -204,11 +204,11 @@ func writeDebianControl(dir, gopkg, debsrc, debLib, debProg string, pkgType pack
204
204
sort .Strings (builddeps )
205
205
fprintfControlField (f , "Build-Depends" , builddeps )
206
206
207
+ fmt .Fprintf (f , "Testsuite: autopkgtest-pkg-go\n " )
207
208
fmt .Fprintf (f , "Standards-Version: 4.6.0\n " )
208
209
fmt .Fprintf (f , "Vcs-Browser: https://salsa.debian.org/go-team/packages/%s\n " , debsrc )
209
210
fmt .Fprintf (f , "Vcs-Git: https://salsa.debian.org/go-team/packages/%s.git\n " , debsrc )
210
211
fmt .Fprintf (f , "Homepage: %s\n " , getHomepageForGopkg (gopkg ))
211
- fmt .Fprintf (f , "Rules-Requires-Root: no\n " )
212
212
fmt .Fprintf (f , "XS-Go-Import-Path: %s\n " , gopkg )
213
213
214
214
// Binary package(s):
@@ -259,9 +259,9 @@ func writeDebianCopyright(dir, gopkg string, vendorDirs []string, hasGodeps bool
259
259
}
260
260
261
261
fmt .Fprintf (f , "Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/\n " )
262
+ fmt .Fprintf (f , "Source: %s\n " , getHomepageForGopkg (gopkg ))
262
263
fmt .Fprintf (f , "Upstream-Name: %s\n " , filepath .Base (gopkg ))
263
264
fmt .Fprintf (f , "Upstream-Contact: TODO\n " )
264
- fmt .Fprintf (f , "Source: %s\n " , getHomepageForGopkg (gopkg ))
265
265
if len (vendorDirs ) > 0 || hasGodeps {
266
266
fmt .Fprintf (f , "Files-Excluded:\n " )
267
267
for _ , dir := range vendorDirs {
0 commit comments