On Mon, 2008-11-24 at 16:04 +0100, Dan Horák wrote:
Tom "spot" Callaway píše v Po 24. 11. 2008 v 09:53 -0500:
> On Mon, 2008-11-24 at 15:30 +0100, Dan Horák wrote:
> > Hi,
> >
> > do Tryton (
http://www.tryton.org) module names in format
> > trytond_full_module_name-$version.tar.gz (see full list at
> >
http://downloads.tryton.org/1.0/) qualify for the underscore exception
> > from the Naming Guideline?
>
> I'm inclined to say no... how painful would it be to use - in the
> package name instead?
Not much, just to put more intelligence into the spec file generator :-)
Can I somehow convert the "-" in a %name into "_" (stored in some
other
variable) directly in the spec?
%global oldname %(shell echo "%{name}" | sed 's/-/_/g')
After %name has been defined, of course.
--
Ignacio Vazquez-Abrams <ivazqueznet(a)gmail.com>
PLEASE don't CC me; I'm already subscribed