diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-08 07:27:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-08 07:27:23 +0000 |
commit | 563409ed82164663e08835ed07584337ce601773 (patch) | |
tree | c60b9d54ff438b2e800be30416f66bcadfbfcba6 /abuild.in | |
parent | 472ba1680794a8a916b858e05a33f5b3935b21da (diff) | |
download | abuild-563409ed82164663e08835ed07584337ce601773.tar.gz abuild-563409ed82164663e08835ed07584337ce601773.tar.bz2 abuild-563409ed82164663e08835ed07584337ce601773.tar.xz abuild-563409ed82164663e08835ed07584337ce601773.zip |
abuild: clear inherit provides and install_if for subpackages
Unexpected result will happen if subpackages inherits the provides or
install_if from main package. So we clear them.
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -947,6 +947,11 @@ archcheck() { prepare_package() { msg "Preparing ${subpkgname:+sub}package ${subpkgname:-$pkgname}..." + if [ -n "$subpkgname" ]; then + # the subpackages should not inherit those + provides="" + install_if="" + fi stripbin prepare_metafiles \ && prepare_trace_rpaths \ |