On Sun, 17 Sep 2017 22:42:47 +0200, Patrick Dupre wrote:

> > > 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

Read the error message more carefully. Pay attention to the spelling of
what's needed. Your query does not show what's needed. Where do you
see 'perl(Forest)' in the output, for example?
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to