Re: Macro %so has illegal name - why?

Valery Reznic <[email protected]> Thu, 22 May 2008 01:37:20 -0700 (PDT)
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>


--- On Thu, 5/22/08, Toralf Lund <[email protected]> wrote:

> From: Toralf Lund <[email protected]>
> Subject: Macro %so has illegal name - why?
> To: "RPM Mailing List" <[email protected]>
> Date: Thursday, May 22, 2008, 11:30 AM
> Just tried the following in an rpm spec file
> 
> %define so .so
> 
> When I tried building with this (rpmbuild -bb), I got
> 
> error: Macro %so has illegal name (%define)
> 
> Why? I mean, obviously rpmbuild didn't like my macro
> name, so I can just 
> change it to something else, but what exactly is wrong with
> it? What are 
> the rules? I this documented anywhere?
As long as I remember macro should be at least 3 character long.
Why - I have no idea.

Valery.

> 
> - Toralf
> 
> _______________________________________________
> Rpm-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rpm-list