rpmbuild - change sysconfdir

arnaud gaboury arnaud.gaboury at gmail.com
Mon Sep 14 08:15:23 UTC 2015


On Mon, Sep 14, 2015 at 10:04 AM Adam Williamson <adamwill at fedoraproject.org>
wrote:

> 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?
>

Sorry, it was a typo. I did put a backslash indeed:

%configure \
     --sysconfdir=/etc/R \
    --with-system-tre \
................



> --
> Adam Williamson
> Fedora QA Community Monkey
> IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
> http://www.happyassassin.net
>
>
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150914/5361a2f7/attachment.html>


More information about the devel mailing list