From Fedora Project Wiki
No edit summary |
|||
Line 22: | Line 22: | ||
== Directory Ownership == | == Directory Ownership == | ||
The directories | |||
* %perl6_vendor_dir/* | |||
* %perl6_site_dir/* | |||
are owned by the rakudo interpreter package. The Perl 6 module packages only own the files and directories underneath the directories <code>%perl6_vendor_dir/*</code> | |||
<pre> | |||
%files | |||
... | |||
%{perl6_vendor_dir}/*/* | |||
</pre> | |||
== Precompiling dependency on rakudo updates == | == Precompiling dependency on rakudo updates == |
Revision as of 07:15, 27 June 2017
Naming Guidelines
Perl 6 module packages generally follow the naming scheme of rakudo-<Perl-6-Module-Name>.
For example if the code to load a perl 6 module would be:
use XML::Writer;
then the Name
tag is:
Name: rakudo-XML-Writer
More examples for package names are: rakudo-LibraryCheck
, rakudo-Readline
, rakudo-Inline-Perl5
Macros
Directory Ownership
The directories
- %perl6_vendor_dir/*
- %perl6_site_dir/*
are owned by the rakudo interpreter package. The Perl 6 module packages only own the files and directories underneath the directories %perl6_vendor_dir/*
%files ... %{perl6_vendor_dir}/*/*