Hi all,<br><br>Sorry to bother you!<br><br>I'm not sure is it a bug.<br><br>I'm working with rpm-4.8.0, and find that "--rcfile" option can not work, please<br>see below to get detailed information:<br><br>
******************************************************************<br>Environment: RHEL6 Linux (x86_64)<br><br>[root@rhel6 rpm-4.8.0]$/bin/rpm --version<br>RPM version 4.8.0<br><br>[root@rhel6 rpm-4.8.0]$/bin/rpm -q rpm <<<< installed rpm-4.8.0-12 rpm package<br>
rpm-4.8.0-12.el6.x86_64<br><br>[root@rhel6 rpm-4.8.0]$cat /root/rpmbuild/rpmrc <<< the rcfile<br>macrofiles:/root/rpmbuild/rpmmacros<br><br>[root@rhel6 rpm-4.8.0]$<br>[root@rhel6 rpm-4.8.0]$cat /root/rpmbuild/rpmmacros <<< the macro file<br>
%_topdir /root/rpm<br><br>[root@rhel6 rpm-4.8.0]$/bin/rpm --rcfile /root/rpmbuild/rpmrc --showrc |grep "_topdir"<br>-14: _builddir %{_topdir}/BUILD<br>-14: _buildrootdir %{_topdir}/BUILDROOT<br>-14: _rpmdir %{_topdir}/RPMS<br>
-14: _sourcedir %{_topdir}/SOURCES<br>-14: _specdir %{_topdir}/SPECS<br>-14: _srcrpmdir %{_topdir}/SRPMS<br>-14: _topdir %{getenv:HOME}/rpmbuild <<<<<< did NOT change to /root/rpm<br>******************************************************************<br clear="all">
<br>Any replies will be awfully appreciated! <br><br>Thanks!<br><br>-- <br>Yours sincerely, Bingel<br>