On Tue, Feb 4, 2014 at 11:46 AM, Kevin Wilson <wkev...@gmail.com> wrote:
> Hi, > Thanks to Adam and Daniel for the quick answer. > > I am not an expert about RPMs. I just wonder where are these > dependencies defined for libvirt (and in general for other RPMs), > since the libvirt RPM file itself is an empty file ? > > Regards, > Kevin > They are defined in the RPM's spec file used to build the RPM itself. libvirt is a complex package so it's spec file isn't necessarily the best candidate for someone who's not experienced in RPM packaging but if you look at the lines that list out "Requires: " (not "BuildRequires:"), it will at least show where the dependencies originate. http://pkgs.fedoraproject.org/cgit/libvirt.git/tree/libvirt.spec -AdamM > > > On Tue, Feb 4, 2014 at 7:37 PM, Adam Miller > <maxamill...@fedoraproject.org> wrote: > > > > > > > > On Tue, Feb 4, 2014 at 11:30 AM, Kevin Wilson <wkev...@gmail.com> wrote: > >> > >> Hi, > >> What is the usage of an empty RPM ? What it is for ? > >> For example, on Fedora 20: > >> > >> rpm -qpl libvirt-1.1.3.3-2.fc20.x86_64.rpm > >> shows: > >> (contains no files) > > > > > > It's effectively a meta-package that pulls in dependencies. > > > > # yum deplist libvirt > > package: libvirt.x86_64 1.2.1-2.fc21 > > dependency: /bin/sh > > provider: bash.x86_64 4.2.45-6.fc21 > > dependency: libvirt-client = 1.2.1-2.fc21 > > provider: libvirt-client.x86_64 1.2.1-2.fc21 > > provider: libvirt-client.i686 1.2.1-2.fc21 > > dependency: libvirt-daemon = 1.2.1-2.fc21 > > provider: libvirt-daemon.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-config-network = 1.2.1-2.fc21 > > provider: libvirt-daemon-config-network.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-config-nwfilter = 1.2.1-2.fc21 > > provider: libvirt-daemon-config-nwfilter.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-interface = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-interface.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-libxl = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-libxl.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-lxc = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-lxc.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-network = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-network.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-nodedev = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-nodedev.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-nwfilter = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-nwfilter.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-qemu = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-qemu.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-secret = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-secret.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-storage = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-storage.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-uml = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-uml.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-vbox = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-vbox.x86_64 1.2.1-2.fc21 > > dependency: libvirt-daemon-driver-xen = 1.2.1-2.fc21 > > provider: libvirt-daemon-driver-xen.x86_64 1.2.1-2.fc21 > > > > > > -AdamM > > > >> > >> > >> Regards, > >> Kevin Wilson > >> > >> -- > >> devel mailing list > >> devel@lists.fedoraproject.org > >> https://admin.fedoraproject.org/mailman/listinfo/devel > >> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > > > > > > > > -- > > devel mailing list > > devel@lists.fedoraproject.org > > https://admin.fedoraproject.org/mailman/listinfo/devel > > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > -- > devel mailing list > devel@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/devel > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct >
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct