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.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure