On Tue, 11 Jun 2019 21:13:10 +0200, Patrick Dupre wrote:
I am not sure to take the point:
You focus on something else.
I can run
cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz --add-provide
"perl(Tk::JBrowseEntry) %{version}-%{release}"
If it is correct.
It isn't. You are not supposed to add those Provides yourself.
BuildRequires perl-generators would do it inside the built packages.
Adding both makes no sense.
Why is it not automatic?
Other have answered that. I only tell you what needs to be present within
the spec file for the built package dependencies to be added on-the-fly.
Instead, you expect the cpanspec generated file to be perfect, which is
a different issue.