[Fedora-packaging] Scripting language dependencies

Bill Nottingham notting at redhat.com
Fri Feb 17 14:16:40 UTC 2012


Jon Masters (jcm at redhat.com) said: 
> I hope everyone is having a good day. Here in the Fedora ARM project,
> we're having a great time overall, but we've run up against a familiar
> foe in our preparation for Fedora 17 and rawhide: superfluous deps in
> SPEC files. Today's example is a shell-escaped call to Ruby just to
> determine some gcc flags for an unrelated package build, but that's just
> today's example. There are many others, so some standard would help.

OK, so how about:

...
Scripting inside of spec files

Inside of a spec file, sometimes it is necessary to call a programming or
scripting language during %setup, %build, or %install. In Fedora, spec
files may in general only use the following languages for this purpose:

1. Python
2. Perl
3. awk/sed

Also, if your package already BuildRequires a specific scripting language
(such as Ruby, or Tcl) as part of its normal compile process, it may also be
called from the spec file.

...

Bill


More information about the packaging mailing list