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. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx