On 2/20/22 07:38, Fulko Hew wrote:
I just found my first example of the issue...
I need DateTime:Event:Sunrise and there isn't a Fedora package for it.
Careful, there are double colons needed in the name. There's a very handy package called "cpanspec" which helps you package cpan packages into rpms.
In this case, when I first tried it, it gave a list of required packages which were all available in Fedora.
dnf install 'perl(DateTime::Set)' 'perl(DateTime::Span)' 'perl(DateTime::SpanSet)' 'perl(ExtUtils::MakeMaker)' 'perl(Set::Infinite)' 'perl(Test::Exception)' 'perl(Test::More)'
Then I could run (as a user): cpanspec --build --packager me DateTime::Event::Sunrise
This generated an installable rpm.