On Oct 12, 2010, at 1:43 PM, Fabio M. Di NItto wrote: > On 10/12/2010 07:09 PM, Vadym Chepkov wrote: >> I disagree, users don't usually install libs directly, unless they > intend to, they would install corosync package if they need it. > > This is pretty much Debian you are talking about. > >> you can check yourself with majority of the packages: xen-libs don't > require xen, pacemaker-libs doesn't require pacemaker, net-snmp-libs > doesn't require net-snmp, just to name a few. > > what distribution are you looking at? In Fedora, where the spec file was > first done as template for others to use and modify as needed, it's > pretty much mandatory to have the subpackage Require the main package. > > http://fedoraproject.org/wiki/Packaging/Guidelines#RequiringBasePackage > > http://fedoraproject.org/wiki/Packaging/ReviewGuidelines#Things_To_Check_On_Review > > "SHOULD: Usually, subpackages other than devel should require the base > package using a fully versioned dependency. [21]" > > If all the packages you mention above do not Require the main package, > either they have an exception from the Fedora Board, or they are not > strictly following the Fedora packaging guidelines.
This is the list of the libs packages from Fedora 13 DVD that do not follow your understanding of the guidelines you can check for yourself aalib-libs-1.4.0-0.18.rc5.fc12.i686.rpm abrt-libs-1.1.0-1.fc13.i686.rpm audit-libs-2.0.4-3.fc13.i686.rpm augeas-libs-0.7.0-1.fc13.i686.rpm bind-libs-9.7.0-9.P1.fc13.i686.rpm bluez-libs-4.63-3.fc13.i686.rpm brasero-libs-2.30.1-3.fc13.i686.rpm bzip2-libs-1.0.5-6.fc12.i686.rpm cdparanoia-libs-10.2-9.fc13.i686.rpm cheese-libs-2.30.1-1.fc13.i686.rpm ConsoleKit-libs-0.4.1-5.fc13.i686.rpm cryptsetup-luks-libs-1.1.0-1.fc13.i686.rpm cups-libs-1.4.3-6.fc13.i686.rpm dbus-libs-1.2.24-1.fc13.i686.rpm device-mapper-event-libs-1.02.44-1.fc13.i686.rpm device-mapper-libs-1.02.44-1.fc13.i686.rpm device-mapper-multipath-libs-0.4.9-14.fc13.i686.rpm dirac-libs-1.0.2-3.fc12.i686.rpm djvulibre-libs-3.5.22-1.fc13.i686.rpm e2fsprogs-libs-1.41.10-6.fc13.i686.rpm ebook-tools-libs-0.1.1-5.fc12.i686.rpm evince-libs-2.30.1-2.fc13.i686.rpm exiv2-libs-0.19-1.fc13.i686.rpm fakeroot-libs-1.12.4-1.fc13.i686.rpm festival-speechtools-libs-1.2.96-16.fc13.i686.rpm file-libs-5.04-3.fc13.i686.rpm fuse-libs-2.8.1-4.fc13.i686.rpm gettext-libs-0.17-16.1.fc13.i686.rpm ggz-base-libs-0.99.5-7.fc13.i686.rpm gimp-libs-2.6.8-6.fc13.i686.rpm gnome-bluetooth-libs-2.30.0-1.fc13.i686.rpm gnome-disk-utility-libs-2.30.1-1.fc13.i686.rpm gnome-disk-utility-ui-libs-2.30.1-1.fc13.i686.rpm gnome-panel-libs-2.30.0-1.fc13.i686.rpm gnome-utils-libs-2.30.0-1.fc13.i686.rpm gpm-libs-1.20.6-9.fc13.i686.rpm hal-libs-0.5.14-3.fc13.i686.rpm ibus-libs-1.3.3-1.fc13.i686.rpm imsettings-libs-0.108.0-2.fc13.i686.rpm inn-libs-2.5.1-3.fc13.i686.rpm jasper-libs-1.900.1-15.fc13.i686.rpm kdegames-libs-4.4.2-1.fc13.i686.rpm kdegraphics-libs-4.4.2-3.fc13.i686.rpm kdemultimedia-libs-4.4.2-2.fc13.i686.rpm kdenetwork-libs-4.4.2-2.fc13.i686.rpm keyutils-libs-1.2-6.fc12.i686.rpm knetworkmanager-libs-0.9-0.19.20100419.fc13.i686.rpm krb5-libs-1.7.1-8.fc13.i686.rpm lcms-libs-1.19-1.fc13.i686.rpm linux-atm-libs-2.5.0-10.i686.rpm lm_sensors-libs-3.1.2-2.fc13.i686.rpm lvm2-libs-2.02.61-1.fc13.i686.rpm lzma-libs-4.32.7-3.fc12.i686.rpm mysql-libs-5.1.45-2.fc13.i686.rpm nas-libs-1.9.1-6.fc12.i686.rpm netcf-libs-0.1.6-1.fc13.i686.rpm net-snmp-libs-5.5-12.fc13.i686.rpm OpenEXR-libs-1.6.1-8.fc12.i686.rpm openjpeg-libs-1.3-7.fc13.i686.rpm paps-libs-0.6.8-13.fc13.i686.rpm pciutils-libs-3.1.6-4.fc13.i686.rpm pcsc-lite-libs-1.5.5-4.fc13.i686.rpm plymouth-core-libs-0.8.2-3.fc13.i686.rpm plymouth-graphics-libs-0.8.2-3.fc13.i686.rpm podofo-libs-0.7.0-4.fc13.i686.rpm postgresql-libs-8.4.3-1.fc13.i686.rpm pulseaudio-libs-0.9.21-6.fc13.i686.rpm pulseaudio-libs-glib2-0.9.21-6.fc13.i686.rpm ruby-libs-1.8.6.399-1.fc13.i686.rpm setools-libs-3.3.6-4.fc12.i686.rpm sg3_utils-libs-1.28-2.fc13.i686.rpm strigi-libs-0.7.2-2.fc13.i686.rpm system-config-printer-libs-1.2.1-1.fc13.i686.rpm tcp_wrappers-libs-7.6-58.fc13.i686.rpm xen-libs-3.4.2-2.fc13.i686.rpm xz-libs-4.999.9-0.2.beta.20091007git.fc13.i686.rpm Vadym > > Anyway I agree with Steven, and that was mentioned several times before, > that the spec file upstream provides is only a template that _must_ be > adjust to the distribution you are using. Instead of changing the > template to fit only one, we welcome patches to either provide alternate > spec files, or even better add the correct %if / %endif instances to > special case based on distro. > > Also you might want to notice that there is no way any of the corosync > library can be of any use on a system without corosync main package. > > Fabio > _______________________________________________ > Openais mailing list > [email protected] > https://lists.linux-foundation.org/mailman/listinfo/openais _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
