How about creating /usr/lib/rpm/noarch/macros that consists only of:
I just put some Perl scripts and their man pages into a noarch RPM, and
discovered that the man pages did not compress because there was no
post-install script at all, for noarch builds.
It may not make any sense to run brp-strip for noarch, but at least running
brp-compress may do some good.
Interesting. If I specify --target=noarch, the brp scripts do NOT get run.
But, if instead I add "BuildArch: noarch" to the spec file, the brp scripts DO
That doesn't make sense to me.
Fixed by crating noarch-linux and noarch-redhat-linux symlinks
to the canonical arch per-platform configuration directory.