How about creating /usr/lib/rpm/noarch/macros that consists only of: %__spec_install_post /usr/lib/rpm/brp-compress 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 run. That doesn't make sense to me.
Changing component
Fixed by crating noarch-linux and noarch-redhat-linux symlinks to the canonical arch per-platform configuration directory.