RPM spec style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux