anchor.diff:  [sudo] password for tan:
   rpm: RPM should not be used directly install RPM packages, use Alien instead!
   rpm: However assuming you know what you are doing...
  -this is the pre-install sh commands
  -this is the post-install sh commans
  +this is the pre-install sh command
  +this is the post-install sh command
   ----
   
   .check
  
positive.code: project, including configuration, build, internationalization, help files, etc.
  
  %pre
   echo "this is the pre-install sh commands"
   mkdir -p /opt/hello_world/
  
  %post
   echo "this is the post-install sh commans"
  
  %files
  
  
negative.code: EOF
  ----
  
  .build the rpm
  ----
  tan@pavilion:~/sources/cautious-potato$ rpmbuild -ba hello_world.spec
  Processing files: hello_world-1.0.0-1.x86_64
  