On Monday 31 March 2008 03:45:25 pm Roland McGrath wrote: > I had a fix for this test-building when I went to watch some schlock TV > last night and forgot to check on it and commit before I went to bed. > > This was my .spec diff. The regexp has three chars different from your > version. > > +%{expand:%%global debuginfo_args %{?debuginfo_args} -p > '/.*/%%{KVERREL}%{?1:.?%{1}}?/.*|/.*%%{KVERREL}%{?1:.%{1}}(\.debug)?' -o > debuginfo%{?1}.list}\ ^ Gah. Now, in your email, the ^ pointed to the ? in debuginfo%{?1}.list, while when quoted (and rewrapped by kmail), it pointed at the ? in %%{KVERREL}%{?1:.?%{1}}... And I'm not 100% certain which one you were actually questioning now. >From a later reply, looks like actually the one in debuginfo%{?1}.list, which is necessary, so that for the base kernel, we get debuginfo.list. At least, I think that's the case, no? So I *think* this would do now: %{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\. %{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\ Since we have the arch in all the paths as part of KVERREL, no need to worry about paths with or without %{_target_cpu} in 'em. -- Jarod Wilson jwilson@xxxxxxxxxx _______________________________________________ Fedora-kernel-list mailing list Fedora-kernel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-kernel-list