When to use perl(:WITH_...) requires?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey all --

Perl provides a number of provides flags, e.g.:

perl(:WITH_ITHREADS)
perl(:WITH_LARGEFILES)
perl(:WITH_PERLIO)
perl(:WITH_THREADS)

Most perl module spec files only deal with perl(:MODULE_COMPAT_5.8.8),
etc.  But I see a number of them (arch-specific, typically), do use
these flags, along the lines of:

Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) {
print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)"
}')

etc, etc.

So, when should a packager use these?  Should lines along the one
above be included for all flags in an arch-specific spec file?  What's
a good rule of thumb here?  (And, are these flags documented anywhere?
A cursory search of the wiki isn't turning up anything for me.)

                      -Chris

--
Chris Weyl
Ex astris, scientia


--
Chris Weyl
Ex astris, scientia

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux