Re: typo in new spec file (F7)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-07-28 at 16:23 -0400, Ignacio Vazquez-Abrams wrote:
> On Sat, 2007-07-28 at 16:02 -0400, Sam Folk-Williams wrote:
> > I noticed this in the kernel-2.6.22.1-33.fc7.src.rpm spec file as I was 
> > revising the kernel build docs:
> > 
> > #% define buildid .local
> > 
> > Just need to remove that space before 'define', otherwise we get the 
> > following after uncommenting.
> > 
> > error: line 15: Unknown tag: % define buildid .local
> 
> Better yet, double up the percent sign so that rpm doesn't try to
> interpret the %define macro.

My guess is that the space is there specifically to prevent rpm from
interpreting the %define macro (simply # commenting doesn't prevent it).

%% is a cleaner way to do it, but some packagers may not realize it
disables the macro.

~spot

_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-kernel-list

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux