Accepting request 25152 from Kernel:HEAD

Copy from Kernel:HEAD/kernel-source based on submit request 25152 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/25152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-source?expand=0&rev=81
This commit is contained in:
OBS User autobuild
2009-11-27 13:28:36 +00:00
committed by Git OBS Bridge
parent e11a3a8f61
commit b6d50f4b03
49 changed files with 15011 additions and 16525 deletions

5
mkspec
View File

@@ -85,16 +85,19 @@ do_spec('source', "kernel-source$variant.spec", %macros);
# kernel-syms.spec
{
my $requires = "";
my %all_archs;
for my $flavor (sort keys(%syms_flavor_archs)) {
next if $flavor eq "vanilla";
my @archs = arch2rpm(@{$syms_flavor_archs{$flavor}});
$all_archs{$_} = 1 for @archs;
$requires .= "%ifarch @archs\n";
$requires .= "Requires: kernel-$flavor-devel = \%version-\%source_rel\n";
$requires .= "%endif\n";
}
chomp $requires;
do_spec('syms', "kernel-syms$variant.spec", %macros,
REQUIRES => $requires);
REQUIRES => $requires,
ARCHS => join(" ", sort(keys(%all_archs))));
}
exit 0;