title: rpm spec file syntax error
body: <p>I was trying to create a rpm package, my spec file looks like this: </p>
  
  <pre><code>%define config_option (cat %1)
  %define __spec_install_post %{nil}
  %define debug_package %{nil}
  %define __os_install_post %{_dbpath}/brp-compress
  %define __prelink_undo_cmd %{nil}
  %define __strip /bin/true
  
  Name: %{rpm_name}
  Summary: ASG-RP32 Rootfs
  Version: 1
  Release: 1
  License: xxxx
  Group: rootfs
  Vendor: xxxx
  BuildRoot: %{rpmroot}
  Prefix: /
  
  %description
  See Summary.
  
  %install
  mkdir -p /home /media /mnt /opt /proc /root /selinux /srv /sys /tmp
  
  %files
  %defattr (-, root, root)
  /README
  /bin/*
  /boot/*
  /dev/*
  /etc/*
  /lib/*
  /lib64/*
  /sbin/*
  /usr/*
  /var/*
  </code></pre>
  
  <p>but the output gave me some error,</p>
  
  <pre><code>Processing files: pkg-linux-x86-32-linux-xc-release-1-1
  getOutputFrom(): Broken pipe
  </code></pre>
  
  <p>please help.</p>
  
  <p>NOTE: The the directories after install are existing dir, when I tried using %dir to include them, they give me the same error as well. </p>
  
  <p>Thanks</p>