Re: rpmbuild - change sysconfdir

2015-09-14 Thread Florian Weimer
On 09/14/2015 02:20 PM, arnaud gaboury wrote: > On Mon, Sep 14, 2015 at 2:03 PM, arnaud gaboury > wrote: >> On Mon, Sep 14, 2015 at 1:48 PM, Florian Weimer wrote: >>> On 09/14/2015 09:52 AM, arnaud gaboury wrote: For some practical reason, I want sysconfdir to be /etc/R, and not the def

Re: rpmbuild - change sysconfdir

2015-09-14 Thread arnaud gaboury
On Mon, Sep 14, 2015 at 2:03 PM, arnaud gaboury wrote: > On Mon, Sep 14, 2015 at 1:48 PM, Florian Weimer wrote: >> On 09/14/2015 09:52 AM, arnaud gaboury wrote: >>> For some practical reason, I want sysconfdir to be /etc/R, and not the >>> default /etc >> >> This will break quite a few RPM macros

Re: rpmbuild - change sysconfdir

2015-09-14 Thread Rex Dieter
arnaud gaboury wrote: > %configure > --sysconfdir=/etc/R Add \ at the end of line to continue, ie, use instead: %configure \ --sysconfdir=/etc/R (or put it all on one line). -- rex -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fed

Re: rpmbuild - change sysconfdir

2015-09-14 Thread arnaud gaboury
On Mon, Sep 14, 2015 at 1:48 PM, Florian Weimer wrote: > On 09/14/2015 09:52 AM, arnaud gaboury wrote: >> For some practical reason, I want sysconfdir to be /etc/R, and not the >> default /etc > > This will break quite a few RPM macros. Why, exactly, do you want to do > this? The only reason is t

Re: rpmbuild - change sysconfdir

2015-09-14 Thread Florian Weimer
On 09/14/2015 09:52 AM, arnaud gaboury wrote: > For some practical reason, I want sysconfdir to be /etc/R, and not the > default /etc This will break quite a few RPM macros. Why, exactly, do you want to do this? -- Florian Weimer / Red Hat Product Security -- devel mailing list devel@lists.fed

Re: rpmbuild - change sysconfdir

2015-09-14 Thread arnaud gaboury
On Mon, Sep 14, 2015 at 12:32 PM, Michael Schwendt wrote: > On Mon, 14 Sep 2015 11:03:13 +0200, arnaud gaboury wrote: > >> > %build >> > mkdir %{buildroot}/etc/R >> >> I already tried this method, with no sucess. Finally, after a close >> look at my SPEC file, I found one $ which has to be moved t

Re: rpmbuild - change sysconfdir

2015-09-14 Thread Michael Schwendt
On Mon, 14 Sep 2015 11:03:13 +0200, arnaud gaboury wrote: > > %build > > mkdir %{buildroot}/etc/R > > I already tried this method, with no sucess. Finally, after a close > look at my SPEC file, I found one $ which has to be moved to % (I > rewrote my file trying to use the conventional % for vari

Re: rpmbuild - change sysconfdir

2015-09-14 Thread arnaud gaboury
On Mon, Sep 14, 2015 at 10:49 AM, Reindl Harald wrote: > > > Am 14.09.2015 um 10:15 schrieb arnaud gaboury: >> >> On Mon, Sep 14, 2015 at 10:04 AM Adam Williamson >> mailto:adamw...@fedoraproject.org>> wrote: >> >> On Mon, 2015-09-14 at 09:52 +0200, arnaud gaboury wrote: >> > For some pra

Re: rpmbuild - change sysconfdir

2015-09-14 Thread Reindl Harald
Am 14.09.2015 um 10:15 schrieb arnaud gaboury: On Mon, Sep 14, 2015 at 10:04 AM Adam Williamson mailto:adamw...@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 > de

Re: rpmbuild - change sysconfdir

2015-09-14 Thread arnaud gaboury
On Mon, Sep 14, 2015 at 10:04 AM Adam Williamson 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-%{vers

Re: rpmbuild - change sysconfdir

2015-09-14 Thread Adam Williamson
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 > .. > >