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?
Dan
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?
~spot
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?
Dan
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.
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?
%define truename foo_bar %define dashedname %(echo %{truename} | tr '_' '-')
~spot
packaging@lists.fedoraproject.org