rpmbuild - change sysconfdir

arnaud gaboury arnaud.gaboury at gmail.com
Mon Sep 14 07:52:18 UTC 2015


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

$ ls {_builddir}/R-%{version}/etc/
R/
.....

What did I wrong?
What is the correct way to change default sysconfdir, appart editing a
~/.rpmmacros ?

-- 

google.com/+arnaudgabourygabx


More information about the devel mailing list