Hi
I am just reading
http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html
cd /usr/src/redhat/BUILD
rm -rf cdplayer-1.0
gzip -dc /usr/src/redhat/SOURCES/cdplayer-1.0.tgz | tar -xvvf -
if [ $? -ne 0 ]; then
exit $?
fi
cd cdplayer-1.0
cd /usr/src/redhat/BUILD/cdplayer-1.0
chown -R root.root .
chmod -R a+rX,g-w,o-w .
I have a few questions.
Why is the package unpacked twice : gzip and tar ?
When I look in all the examples there, it looks to me like that only unpacking is done. Where does the the copying of files in installdir happen?
Sneeze