Build binary rpm and source rpm from rpmbuld/SPECS directory [tchung@localhost download]$ cd ~/rpmbuild/SPECS/ [tchung@localhost SPECS]$ ls flash-plugin.spec [tchung@localhost SPECS]$ rpmbuild -ba flash-plugin.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.15387 + umask 022 + cd /home/tchung/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/flash-plugin-buildroot + cd /home/tchung/rpmbuild/BUILD + rm -rf install_flash_player_6_linux + /usr/bin/gzip -dc /home/tchung/rpmbuild/SOURCES/install_flash_player_6_linux.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd install_flash_player_6_linux ++ /usr/bin/id -u + '[' 500 = 0 ']' ++ /usr/bin/id -u + '[' 500 = 0 ']' + /bin/chmod -Rf a+rX,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.15387 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd install_flash_player_6_linux + LANG=C + export LANG + unset DISPLAY + cp /home/tchung/rpmbuild/SOURCES/EULA /home/tchung/rpmbuild/BUILD/install_flash_player_6_linux + install -d /var/tmp/flash-plugin-buildroot/usr/lib/mozilla/plugins + install -p -m755 libflashplayer.so /var/tmp/flash-plugin-buildroot/usr/lib/mozilla/plugins + install -p -m644 flashplayer.xpt /var/tmp/flash-plugin-buildroot/usr/lib/mozilla/plugins + /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 Processing files: flash-plugin-6.0.79-fc1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.15387 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd install_flash_player_6_linux + DOCDIR=/var/tmp/flash-plugin-buildroot/usr/share/doc/flash-plugin-6.0.79 + export DOCDIR + rm -rf /var/tmp/flash-plugin-buildroot/usr/share/doc/flash-plugin-6.0.79 + /bin/mkdir -p /var/tmp/flash-plugin-buildroot/usr/share/doc/flash-plugin-6.0.79 + cp -pr readme.txt EULA /var/tmp/flash-plugin-buildroot/usr/share/doc/flash-plugin-6.0.79 + exit 0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/flash-plugin-buildroot Wrote: /home/tchung/rpmbuild/SRPMS/flash-plugin-6.0.79-fc1.src.rpm Wrote: /home/tchung/rpmbuild/RPMS/i386/flash-plugin-6.0.79-fc1.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.97011 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd install_flash_player_6_linux + rm -rf /var/tmp/flash-plugin-buildroot + exit 0 [tchung@localhost SPECS]$