[CentOS] An rpmbuild spec question

Stephen John Smoogen smooge at gmail.com
Wed Dec 27 21:37:02 UTC 2017


On Wed, Dec 27, 2017 at 3:41 PM <m.roth at 5-cent.us> wrote:

> I'm trying to build a package to create a directory and install some
> files. My rpmbuild keeps failing, unable to cd into the directory, "no
> such". Now, in the tmpfile, I *see* it cd'ing into BUILD/opt, and the
> source was unzipped and untared into BUILD/opt/smipmicfg-1.27.0. In the
> spec file, I've even added a cd $RPM_BUILD_ROOT/opt, and I see it cd to
> there... and then it says it fails cd'ing into the directory under it.
>
> I've been doing a lot of googling, but nothing seems to fix this. Anyone
> got a clue?
>


Can you post any of the rpm spec file OR the tmp file? Without that it is
very hard to know what you are trying to do and what it is actually doing
instead.



>      mark
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
-- 
Stephen J Smoogen.



More information about the CentOS mailing list