rhymejerky
Programmer
Hi,
I have a .src.rpm file and did a rpm -ivh to it. It creates a spec file as well as other tar file. If I run rpm -ivh again on the created binary, the resulted files are put into the default location in /etc. Is there a way to change /etc to somewhere else? I know I need to edit the spec file, but variable that looks remotely closed is the _datadir in
%configure --datadir="%{_datadir}/mysql" If I want to change it to say, "/somewhere/mysql. Can I just replace _datadir with it? What is the proper way to do this? Thanks in advance
I have a .src.rpm file and did a rpm -ivh to it. It creates a spec file as well as other tar file. If I run rpm -ivh again on the created binary, the resulted files are put into the default location in /etc. Is there a way to change /etc to somewhere else? I know I need to edit the spec file, but variable that looks remotely closed is the _datadir in
%configure --datadir="%{_datadir}/mysql" If I want to change it to say, "/somewhere/mysql. Can I just replace _datadir with it? What is the proper way to do this? Thanks in advance