https://bugzilla.redhat.com/show_bug.cgi?id=1452985



--- Comment #8 from Gerd Pokorra <g...@zimt.uni-siegen.de> ---
From the current git checkout of zef it is only possible to use:
 -install-to=%{buildroot}..
But the zef command from the package works.


> https://github.com/ugexe/zef/issues/117
It is interesting to read this imported information.
>
> It would be nice to be able to use --install-to=vendor but zef doesn't
> currently appear to support a --destdir=%{buildroot} sort of thing.
>
> I think it could be useful for rakudo to drop a file into 
> /usr/lib/rpm/macros.d
> (like perl-macros does) containing its version number, which would be a
> convenient way for module packagers to add the necessary dependency. Such a
> file might also include definitions like %perl6_vendorlib, %perl6_sitearch 
> etc.
>

I think 'vendordir' and 'sitedir' should be get from the installed rakudo:

> perl6 -e '.say for $*REPO.repo-chain;'
inst#/home/userhome/.perl6
inst#/usr/lib64/perl6/site
inst#/usr/lib64/perl6/vendor
inst#/usr/lib64/perl6
CompUnit::Repository::AbsolutePath.new(next-repo =>
CompUnit::Repository::NQP.new(next-repo =>
CompUnit::Repository::Perl5.new(next-repo => CompUnit::Repository)))
CompUnit::Repository::NQP.new(next-repo =>
CompUnit::Repository::Perl5.new(next-repo => CompUnit::Repository))
CompUnit::Repository::Perl5.new(next-repo => CompUnit::Repository)

>

(The command is at the URL: https://docs.perl6.org/language/5to6-perlvar)

I also find something nice for the release version:

> perl6 -e '.say for $*PERL.compiler.version;'
v2017.04.2
>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org

Reply via email to