summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-11 23:36:16 +0200
committerErich Eckner <git@eckner.net>2017-07-11 23:36:16 +0200
commit1281bf3492e7be6adfda3d345edd3afdb29c7681 (patch)
treed7a144c35200dd01dc51a20f083ce08ed2eb8bc3 /bin/common-functions
parentdd1cf581ca9d07b80bc9c0ff7b39bf5dcadfe682 (diff)
downloadbuilder-1281bf3492e7be6adfda3d345edd3afdb29c7681.tar.xz
treat base and base-devel like dependencies
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 9b89860..39690ee 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -152,7 +152,7 @@ generate_package_metadata() {
sed -i '/=\s*$/d' "${file_prefix}.SRCINFO"
# extract "builds" = provides \cup pkgname
- grep "$(printf '^\\(\tprovides\\|pkgname\\) = ')" "${file_prefix}.SRCINFO" | \
+ grep "$(printf '^\\(\tprovides\\|pkgname\\) = \\|^\tgroups = base')" "${file_prefix}.SRCINFO" | \
cut -d= -f2 | \
sed 's|^\s\+||; s|[<>]$||' | \
sort -u > \