On Sun, May 13, 2018 at 12:13 PM Adam Williamson
<adamw...@fedoraproject.org>
wrote:

> On Fri, 2018-05-11 at 09:33 -0500, Merlin Mathesius wrote:
> > Greetings.
> >
> > I'd like a quick opinion on spec file style...
> >
> > Nearly all specs I've seen dealing with subpackages group all the
> > %package/%description stanzas near the beginning, and put all the %files
> > stanzas near the the end. (Example 1 below)
> >
> > However, are there any reasons, stylistic or otherwise, that the %files
> > stanzas shouldn't be grouped with their corresponding
> > %package/%description stanzas? (Example 2 below) Especially when there
> > are a large number of subpackages...

> I've seen a few packages that do it that way. I don't think there's any
> technical or policy reason not to. It's just a stylistic/practical
> choice.

The only technical reason to group them all together is if you're making a
macro to evaluate to multiple subpackages. It's way simpler that way.
Otherwise, it's a style choice.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to