On Mon, Jun 18, 2012 at 8:38 AM, Joseph L. Casale <jcasale at activenetwerx.com > wrote: > >+ /bin/gzip -dc /usr/src/redhat/SOURCES/nagios-3.4.1.tar.gz > >+ tar -xf - > >+ STATUS=0 > > Ok, it unpacked. > > >+ '[' 0 -ne 0 ']' > >+ cd nagios-3.4.1 > >/var/tmp/rpm-tmp.36485: line 31: cd: nagios-3.4.1: No such file or > directory > >error: Bad exit status from /var/tmp/rpm-tmp.36485 (%prep) > > But now it cant cd into the *expected* directory. > > Either fix the tar file, or amend the spec with the facilities provided > that allow > for this very circumstance. > > > http://fedoraproject.org/wiki/How_to_create_an_RPM_package#.25prep_section:_.25setup_command > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > Hi Joseph Any clue about http://fpaste.org/mcED/ Regards Kaushal