title: RPM spec %post doesn't execute in rpmbuild
body: <p>Given the minimal RPM spec file, that should only execute a <code>%post</code> stanza:</p>
  
  <pre><code>$ cat ~/RPMBUILD/SPECS/test.spec
  Name:           None
  Version:        1.0
  Release:        1
  Summary:        Bla
  License:        Proprietary
  
  %description
  Bla
  
  %prep
  
  %build
  
  %install
  
  %clean
  
  %post
  echo "&gt;&gt;&gt; Inside post &lt;&lt;&lt;"
  
  %files
  </code></pre>
  
  <p><em>However,</em> the echo from the <code>%post</code> is <strong>not</strong> executed:</p>
  
  <pre><code>$ rpmbuild -v -bb  ~/RPMBUILD/SPECS/test.spec
  Executing(%prep): /bin/sh -e /home/ronbarak/RPMBUILD/tmp/rpm-tmp.IvhCZs
  + umask 022
  + cd /home/ronbarak/RPMBUILD/BUILD
  + LANG=C
  + export LANG
  + unset DISPLAY
  + exit 0
  Executing(%build): /bin/sh -e /home/ronbarak/RPMBUILD/tmp/rpm-tmp.yCLpOK
  + umask 022
  + cd /home/ronbarak/RPMBUILD/BUILD
  + LANG=C
  + export LANG
  + unset DISPLAY
  + exit 0
  Executing(%install): /bin/sh -e /home/ronbarak/RPMBUILD/tmp/rpm-tmp.uEbSD2
  + umask 022
  + cd /home/ronbarak/RPMBUILD/BUILD
  + '[' /home/ronbarak/RPMBUILD/BUILDROOT/None-1.0-1.x86_64 '!=' / ']'
  + rm -rf /home/ronbarak/RPMBUILD/BUILDROOT/None-1.0-1.x86_64
  ++ dirname /home/ronbarak/RPMBUILD/BUILDROOT/None-1.0-1.x86_64
  + mkdir -p /home/ronbarak/RPMBUILD/BUILDROOT
  + mkdir /home/ronbarak/RPMBUILD/BUILDROOT/None-1.0-1.x86_64
  + LANG=C
  + export LANG
  + unset DISPLAY
  + /usr/lib/rpm/check-buildroot
  + /usr/lib/rpm/redhat/brp-compress
  + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
  + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
  + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
  + /usr/lib/rpm/brp-python-bytecompile
  + /usr/lib/rpm/redhat/brp-python-hardlink
  + /usr/lib/rpm/redhat/brp-java-repack-jars
  Processing files: None-1.0-1.x86_64
  Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/ronbarak/RPMBUILD/BUILDROOT/None-1.0-1.x86_64
  Wrote: /home/ronbarak/RPMBUILD/RPMS/x86_64/None-1.0-1.x86_64.rpm
  Executing(%clean): /bin/sh -e /home/ronbarak/RPMBUILD/tmp/rpm-tmp.wLCv3C
  + umask 022
  + cd /home/ronbarak/RPMBUILD/BUILD
  + exit 0
  </code></pre>
  
  <p><strong>What should I change so that the <code>%post</code> will execute?</strong></p>