diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-22 15:41:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-26 13:07:20 +0000 |
commit | 42e0de37d18f072dc5dcf5dc45cb441e4c2110d8 (patch) | |
tree | 8747b480ba1501aca693d8622260836cd03bf517 /scripts/lib/devtool/__init__.py | |
parent | 7703c74ea08ceddc7641f3cbdf1df5d0993ebf0f (diff) | |
download | openembedded-core-42e0de37d18f072dc5dcf5dc45cb441e4c2110d8.tar.gz openembedded-core-42e0de37d18f072dc5dcf5dc45cb441e4c2110d8.tar.bz2 openembedded-core-42e0de37d18f072dc5dcf5dc45cb441e4c2110d8.zip |
package_rpm: correctly handle LICENSE_${PN}
RPM spec files don't distinguish between spec-level license and the primary
package license, so always output the License for every package (defaulting to
the recipe-wide license) and use LICENSE_${PN} if set for the primary package.
As the primary use of package_rpm is to generate built packages, this fixes the
license fields in the generated packages.
[ YOCTO #12057 ]
(From OE-Core rev: 8c333e592fa7a3a887c792ac14e5cde2141b5d35)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/__init__.py')
0 files changed, 0 insertions, 0 deletions