RFE: make get_doc_files output sorted, and write them to the spec one line at a time
The output of get_doc_files
is currently unsorted
e.g. go2rpm --name yq https://github.com/mikefarah/yq
%global godocs examples CODE_OF_CONDUCT.md how-it-works.md project-\\\
words.txt release_instructions.txt CONTRIBUTING.md\\\
README.md release_notes.txt doc debian/changelog
If we can get them sorted, and also written to the spec one line at a time, it will make it easier to diff changes when regenerating a spec file.
By the way, why are these listed in both the include and exclude sets?
"doc", "docs", "example", "examples", "_example", "_examples"
Edited by Maxwell G