LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where to find a tar-file in a rpm (https://www.linuxquestions.org/questions/linux-newbie-8/where-to-find-a-tar-file-in-a-rpm-166761/)

sneezesnoeze 04-06-2004 04:16 AM

where to find a tar-file in a rpm
 
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 .

This text is in the setup. gzip is searching for a file: /usr/src/redhat/SOURCES/cdplayer-1.0.tgz

If you only have your rpm, how can this macro be looking for a tar-file. It will not be there when you install it on a "clean machine" will it ?

Kind Regards
Sneeze

jean-michel 04-06-2004 11:18 AM

search for rpm2tar


All times are GMT -5. The time now is 03:55 AM.