title: rpm install scripts not executing
body: <p>I'm working in ClearOS5.3, with rpm 4.4 installed. I'm using rpm to distribute a module I created, however the <code>%post</code> script in my spec file isn't executed when I install the package.</p>
  
  <p>I'm using the command <code>rpmbuild -ba mypackage.spec</code>
  to build the rpm, and the command <code>rpm -ivh mypackage-version-release.rpm</code> to install the package.</p>
  
  <p>Installation is performed manually (not using <code>make</code>) in the %install script. All the files seem to be installed in the correct places, however none of the install scripts run (specifically <code>%post</code> and <code>%preun</code>, in the case of my package). Testing with other install scripts (<code>%pre</code>) showed those sections didn't work either.</p>
  
  <p>From what I can tell based on installing the package in debug mode, the <code>%pretrans</code> and <code>%posttrans</code> scripts are run. Additionally, when building the package, it recognizes the the install scripts and lists their dependencies (<code>/bin/sh</code>).</p>
  
  <p>Does anyone have an idea as to why these install scripts might not be running and have suggestions to fix the issue?</p>