From cf09c0ea05db8158d2cd781d0315730fc58162cf Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 17 Jun 2020 13:45:55 -0400 Subject: ob-gencontrol: Generate a "Section" field And add it to SPF 2.x. --- (limited to 'tests') diff --git a/tests/data/pkg/bar.pkg/control b/tests/data/pkg/bar.pkg/control index b0c05fa..78bf79c 100644 --- a/tests/data/pkg/bar.pkg/control +++ b/tests/data/pkg/bar.pkg/control @@ -1,5 +1,6 @@ Architecture: all Platform: all +Section: utils Description: Bit-bang All Registers ${Common-Description} . diff --git a/tests/data/pkg/foo.pkg/control b/tests/data/pkg/foo.pkg/control index b383ff9..e768224 100644 --- a/tests/data/pkg/foo.pkg/control +++ b/tests/data/pkg/foo.pkg/control @@ -1,5 +1,6 @@ Architecture: any-linux-any Platform: all +Section: libdev Depends: ${Generated-Depends} Description: Frobnicator of Objects ${Common-Description} diff --git a/tests/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh index 6f29d9b..3f3d05f 100755 --- a/tests/exe/ob-gencontrol.sh +++ b/tests/exe/ob-gencontrol.sh @@ -52,6 +52,7 @@ for run in 'first' 'second'; do Version: 1.0-1 Architecture: i686-linux-glibc Platform: all + Section: libdev Maintainer: "J. Random Hacker" Depends: bar Installed-Size: 1 @@ -71,6 +72,7 @@ for run in 'first' 'second'; do Version: 1.0-1 Architecture: all Platform: all + Section: utils Maintainer: "J. Random Hacker" Installed-Size: 0 Description: Bit-bang All Registers -- cgit v0.9.1