jordansissel/fpm — Issue #161: Disable default silliness in rpmbuild macros
Author: jordansissel
Created: 2012-02-24 08:03:49+00:00
State: open

```
seven(/usr/lib/rpm) % grep -R _install_post */*

platform/amd64-linux/macros:%__arch_install_post %{nil}
platform/amd64-linux/macros:%__os_install_post \
platform/amd64-linux/macros:%__spec_install_post\
platform/amd64-linux/macros: %{?__debug_package:%{__debug_install_post}}\
platform/amd64-linux/macros: %{__arch_install_post}\
platform/amd64-linux/macros: %{__os_install_post}\
platform/athlon-linux/macros:%__arch_install_post %{nil}
platform/athlon-linux/macros:%__os_install_post \
platform/athlon-linux/macros:%__spec_install_post\
platform/athlon-linux/macros: %{?__debug_package:%{__debug_install_post}}\

```

Probably can, in the rpm spec, define all of these stupid __arch_install_post things to empty strings ?

Seems like the 'main' piece is %__spec_install_post that we need to disable.

Alternately, it seems there's a pattern of __spec_{prep,build,install,...}_{pre,post} for defines that we probably should just set to empty strings.

Needs testing.