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. > > 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.
I have asked the author of the guidelines, Tom Callaway, hopefully he will respond. > > 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. Of cause there is. What if you just compile pacemaker, for instance? Why would you need to install corosync daemon to just link pacemaker binary? Vadym _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
