Much of distribution development is writing menial scripts and SPEC files. It's tedious work with little creativity. The last SPEC file for an RPM package I wrote from scratch was years ago but it was so tedious work. The Arch maintainers even argue that their PKGBUILD files are so simple, they don't pass the so-called threshold of originality and therefore are public domain anyway.
Much can be (and probably already is) automated. Compilation directives like CMake files already contain all the info needed to generate a workable if a bit bare bones SPEC file. I'd say an LLM might even be overkill for what a script could also achieve. The result is public domain anyway.