Re: Macro %so has illegal name - why?

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

 



Valery Reznic wrote:

--- On Thu, 5/22/08, Toralf Lund <toralf@xxxxxxxxxxxxxx> wrote:

From: Toralf Lund <toralf@xxxxxxxxxxxxxx>
Subject: Macro %so has illegal name - why?
To: "RPM Mailing List" <rpm-list@xxxxxxxxxx>
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) [ ... ]

As long as I remember macro should be at least 3 character long.
Why - I have no idea.
Right. You know, when I checked some of the docs again after you said that, I found the following in /usr/share/doc/rpm-4.4.2/macros:

   Name may be composed of alphanumeric characters, and the character
   `_' and must be at least 3 characters in length.

Somehow I hadn't noticed this earlier...

Thanks,


- Toralf

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux