https://bugzilla.redhat.com/show_bug.cgi?id=1922869
--- Comment #2 from Neal Gompa ngompa13@gmail.com --- (In reply to Carl George 🤠 from comment #1)
What's the purpose of the %_distconfdir macro? Gentle reminder that only Fedora and EPEL macros are allowed in Fedora spec files [0].
Right, %_distconfdir is something from openSUSE, which points to /usr/etc[1]. I can, of course, drop it and just change it back to %_prefix/%_sysconfdir, since I'm only using it to delete stuff right now.
[1]: https://en.opensuse.org/openSUSE:Packaging_UsrEtc
From how I'm reading the upstream license [1], there needs to be some license adjustments in the spec file. The -libs and -devel subpackages are "GPLv2+ or LGPLv2+", and need the license field and %license files to reflect that. Everything else is just GPLv2+.
[0] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_spec_legibility [1] https://github.com/openSUSE/transactional-update/blob/v3.0.0/COPYING
The source package includes all the things, so I put the "GPLv2+ and LGPLv2+" term there, while appropriately setting the licenses (GPLv2+ or LGPLv2+) for each subpackage based on what the headers in the files said for each subpackage.