Hello,
Again, I am not sure to understand:
cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz
only add: BuildRequires: perl-generators in the .spec file
which does not help.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 ===========================================================================
Sent: Wednesday, June 12, 2019 at 2:26 PM From: "Michael Schwendt" mschwendt@gmail.com To: users@lists.fedoraproject.org Subject: Re: rpmbuild
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. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org