Control: tags -1 patch El dg 17 de 07 de 2016 a les 00:23 +0200, Javier Serrano Polo va escriure: > a third way is at > build time with a build profile named "clean" (or "dirty") in > DEB_BUILD_PROFILES.
The solution with "clean" is the simplest to implement, keeping the behavior of setting Built-For-Profiles by default.
--- a/scripts/dpkg-gencontrol.pl 2016-07-04 11:00:33.000000000 +0000 +++ b/scripts/dpkg-gencontrol.pl 2016-07-22 20:38:47.000000000 +0000 @@ -298,7 +298,9 @@ } } -$fields->{'Built-For-Profiles'} = join ' ', get_build_profiles(); +my @build_profiles = get_build_profiles(); +$fields->{'Built-For-Profiles'} = join ' ', @build_profiles + unless any { $_ eq 'clean' } @build_profiles; for my $f (qw(Package Version Architecture)) { error(g_('missing information for output field %s'), $f)
smime.p7s
Description: S/MIME cryptographic signature