rpmbuild - change sysconfdir

Adam Williamson adamwill at fedoraproject.org
Mon Sep 14 08:04:20 UTC 2015


On Mon, 2015-09-14 at 09:52 +0200, arnaud gaboury wrote:
> For some practical reason, I want sysconfdir to be /etc/R, and not
> the
> default /etc
> 
> Here is what I did:
> 
> %build
> .....
> mkdir -p {_builddir}/R-%{version}/etc/R
> .....
> %configure
>      --sysconfdir=/etc/R
> ..........
> 
> make throw me an error:
>  --sysconfdir=/etc/R: No such file or directory

You didn't put a \ at the end of the '%configure' line, so it's trying
to interpet '--sysconfdir=/etc/R' as a command in itself?
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net




More information about the devel mailing list