Am 14.09.2015 um 10:15 schrieb arnaud gaboury:
On Mon, Sep 14, 2015 at 10:04 AM Adam Williamson <adamwill@xxxxxxxxxxxxxxxxx <mailto:adamwill@xxxxxxxxxxxxxxxxx>> 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 \
well, the buildroot is empty at the begin and your special folder is not created automatically, so start your build section by doing so
%build mkdir %{buildroot}/etc/R
Attachment:
signature.asc
Description: OpenPGP digital signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct