> Sent: Sunday, September 17, 2017 at 10:14 PM
> From: "Michael Schwendt" <mschwe...@gmail.com>
> To: users@lists.fedoraproject.org
> Subject: Re: rpmbuild
>
> On Sun, 17 Sep 2017 21:48:26 +0200, Patrick Dupre wrote:
> 
> > Hello,
> > 
> > Can somebody tell me whatis wrong in the spec file
> 
> > I get:
> > rpmbuild -bb perl-Graphics-Primitive.spec 
> > error: Failed build dependencies:
> >     perl(Forest) >= 0.06 is needed by 
> > perl-Graphics-Primitive-0.67-1.fc26.noarch
> >     perl(Geometry::Primitive) >= 0.16 is needed by 
> > perl-Graphics-Primitive-0.67-1.fc26.noarch
> >     perl(Graphics::Color) >= 0.20 is needed by 
> > perl-Graphics-Primitive-0.67-1.fc26.noarch
> > 
> > while
> > rpm -q perl-Forest
> > perl-Forest-0.10-1.fc26.noarch
> > rpm -q perl-Geometry-Primitive
> > perl-Geometry-Primitive-0.24-1.fc26.noarch
> > rpm -q perl-Graphics-Color
> > perl-Graphics-Color-0.31-1.fc26.noarch
> 
> Your query is insufficient. Query what the installed packages provide,
> so you can check that they provide what's needed to satisfy the
> BuildRequires in the spec file. You can use the --whatprovides option
> to test against the local RPM DB. Or you can list a package's full
> Provides like
> 
>   rpm -q --provides perl-Forest
> 
> and if "perl(Forest)" is not in the output, the perl-Forest package does
> not provide what's needed.

It seems to me that every thing is provided:

rpm -q --provides perl-Forest
perl-Forest = 0.10-1.fc26

rpm -q --provides perl-Geometry-Primitive
perl-Geometry-Primitive = 0.24-1.fc26

rpm -q --provides perl-Graphics-Color
perl-Graphics-Color = 0.31-1.fc26

_______________________________________________
> users mailing list -- users@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to