dependency problem with my (first) RPM

Dario Faggioli raistlin at linux.it
Mon Apr 1 08:17:29 UTC 2013


Hello Everyone,

I created an (my first!) RPM of this software
http://www.xen-tools.org/software/xen-tools/ but I'm having some issues
when trying to install it.

Before anyone ask, yes, the long term plan is to follow all the usual
step to get the package officially accepted in Fedora, but I'd like to
have it "working" before starting to do that. :-)

So, xen-tools is just a collection of perl scripts, but having the
package I'm making depend from perl is driving me nuts! :-O Spec file is
attached (I've run it through rpmlint, and I know it have some issues,
but still...) and here's what I get when I tr to install the result of
`rpmbuild -ba xen-tools.spec':

# yum install ../RPMS/noarch/xen-tools-4.3.1-1.fc18.noarch.rpm 
Loaded plugins: langpacks, presto, refresh-packagekit
Examining ../RPMS/noarch/xen-tools-4.3.1-1.fc18.noarch.rpm: xen-tools-4.3.1-1.fc18.noarch
Marking ../RPMS/noarch/xen-tools-4.3.1-1.fc18.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
...
---> Package xen-tools.noarch 0:4.3.1-1.fc18 will be installed
--> Processing Dependency: perl(any) for package: xen-tools-4.3.1-1.fc18.noarch
--> Processing Dependency: perl(any) for package: xen-tools-4.3.1-1.fc18.noarch
--> Finished Dependency Resolution
Error: Package: xen-tools-4.3.1-1.fc18.noarch (/xen-tools-4.3.1-1.fc18.noarch)
           Requires: perl(any)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I googled for this quite a bit, but I don't seem to be able to find
anything explaining how to make that "Requires: perl(any)" go
away... :-(

Any ideas?

Thanks a lot and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-tools.spec
Type: text/x-rpm-spec
Size: 2789 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130401/57596d0e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130401/57596d0e/attachment.sig>


More information about the devel mailing list