[Fedora-packaging] License Tag Draft

Jason L Tibbitts III tibbs at math.uh.edu
Fri Jul 27 21:19:25 UTC 2007


>>>>> "SJS" == Stephen John Smoogen <smooge at gmail.com> writes:

SJS> License: GPLv2 see PACKAGE-LICENSING for more information

This reminds me to ask if anyone knows WTF %license in the %files list
actually does.  From the RPM source, build/files.c:

VFA_t virtualFileAttributes[] = {
        { "%dir",       0,      0 },    /* XXX why not RPMFILE_DIR? */
        { "%doc",       0,      RPMFILE_DOC },
        { "%ghost",     0,      RPMFILE_GHOST },
        { "%exclude",   0,      RPMFILE_EXCLUDE },
        { "%readme",    0,      RPMFILE_README },
        { "%license",   0,      RPMFILE_LICENSE },
        { "%pubkey",    0,      RPMFILE_PUBKEY },
        { "%policy",    0,      RPMFILE_POLICY },

#if WHY_NOT
        { "%icon",      0,      RPMFILE_ICON },
        { "%spec",      0,      RPMFILE_SPEC },
        { "%config",    0,      RPMFILE_CONFIG },
        { "%missingok", 0,      RPMFILE_CONFIG|RPMFILE_MISSINGOK },
        { "%noreplace", 0,      RPMFILE_CONFIG|RPMFILE_NOREPLACE },
#endif

        { NULL, 0, 0 }

 - J<




More information about the Fedora-packaging mailing list