On 17/02/14 11:13, Reindl Harald wrote:


Am 17.02.2014 12:10, schrieb Paul Howarth:
On 17/02/14 11:08, Reindl Harald wrote:

[builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
error: Failed build dependencies:
          perl(ExtUtils::Embed) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
          rubygem(minitest) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
[builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
perl(ExtUtils::Embed) rubygem(minitest)
-bash: syntax error near unexpected token `('
_____________________________

how is somebody expected to translate such Require / Build-Requires
to a package name yum understands?

By quoting them:

$ sudo yum install 'perl(ExtUtils::Embed)' 'rubygem(minitest)'

oh, thanks

Build-Requires: perl-ExtUtils-Embed rubygem-minitest

would do the same without special chars, no idea why
things are done the hard way here and there

Because modules sometimes move between packages. Using the virtual provide means that the dependency works regardless of which package provides it.

Paul.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to