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...

Thanks.

Regards,

Merlin


Example 1:

    ... preable ...

    %description

    %package server
    %description server

    %package client
    %description client

    %package lib
    %description lib

    %prep

    %build

    %install

    %files

    %files server

    %files client

    %files lib

    %changelog
    ...


Example 2:

    ... preable ...

    %description
    %files

    %package server
    %description server
    %files server

    %package client
    %description client
    %files client

    %package lib
    %description lib
    %files lib

    %prep

    %build

    %install

    %changelog
    ...

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to