Hello,
I am not sure to take the point:
I can run
cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz
but
that does not fill
Provides: perl(Tk::JBrowseEntry) = %{version}-%{release}
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. Why is it not automatic?
Anyway,
%{_bindir}/JBrowseTest.pl
is still missing in
%files
Again, why the generation of the .spec is not automatic?
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
> Sent: Tuesday, June 11, 2019 at 12:46 PM
> From: "Michael Schwendt" <mschwendt(a)gmail.com>
> To: users(a)lists.fedoraproject.org
> Subject: Re: rpmbuild
>
> On Mon, 10 Jun 2019 17:45:23 +0200, Patrick Dupre wrote:
>
> > Sorry, when I run
> > cpanspec Tk-JBrowseEntry-5.22.tar.gz
>
> I referred to _build time_ creation of inter-package dependencies.
> The step when rpmbuild adds Requires/Provides to the built packages.
> You are not supposed to hack a spec file as to add them manually for
> Perl Modules installed in Perl's paths for modules.
>
> > Is there something in my .spec generation?
> >
> > Anyway, addition:
> > Provides: perl(Tk::JBrowseEntry) = %{version}-%{release}
> >
> > fixes this issue
>
> Instead, use "BuildRequires: perl-generators" at build-time.
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)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
>