Open tpodowd opened 11 months ago
Are you looking for an alias for the variable or a rename?
Hi @pdxjohnny - Thanks for your reply. I would think an alias makes more sense at this stage as folks may already be using copyright
. Perhaps, change the the field to license
and then make copyright
the alias.
According to https://rpm-software-management.github.io/rpm/manual/tags.html , tag
1014
should calledlicense
and notcopyright
.Here is one example: https://github.com/srossross/rpmfile/blob/185ac915eb701d15bcb2338ad63ca81366f4ce16/rpmfile/headers.py#L41 https://github.com/srossross/rpmfile/blob/185ac915eb701d15bcb2338ad63ca81366f4ce16/rpmfile/rpmdefs.py#L59 https://github.com/srossross/rpmfile/blob/185ac915eb701d15bcb2338ad63ca81366f4ce16/rpmfile/rpmdefs.py#L69
In the main cli command you are already changing the header title to License... https://github.com/srossross/rpmfile/blob/185ac915eb701d15bcb2338ad63ca81366f4ce16/rpmfile/cli.py#L79-L87
The
rpm
command itself also does not find acopyright
header tag.