Re: rpmbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux