OK, Thank Michael and Gordon.
The package perl-generators was not installed. Now it makes more sense.
Another question How could I get %{_bindir}/* added in the %files section without having to edit the generated .spec file (i.e. when I run cpanspec)?
Thank
=========================================================================== 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: Saturday, June 15, 2019 at 5:41 PM From: "Michael Schwendt" mschwendt@gmail.com To: users@lists.fedoraproject.org Subject: Re: rpmbuild
On Fri, 14 Jun 2019 23:38:56 +0200, Patrick Dupre wrote:
perl-Tk-JBrowseEntry-5.22-1.fc30.noarch
The solutions that I found are:
- add Provides: perl(Tk::JBrowseEntry) = %{version}-%{release}
in perl-Tk-JBrowseEntry.spec or 2) remove BuildRequires: perl(Tk::JBrowseEntry) >= 4.63 in perl-Tk-JFileDialog.spec
These two steps contradict eachother.
The package created by step 1 meets the build requirements of the package you want to build. 5.22 >= 4.63, so it is not necessary to remove the BuildRequires tag in step 2.
In step 1, prefer "BuildRequires: perl-generators" instead of adding the "Provides" tag manually. A Perl Module package may include more than a single module.
In my opinion, I should not have to edit the .spec files
If the output from cpanspec were perfect *and* would meet Fedora's Packaging Guidelines, too, you would not need to. _______________________________________________ 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