Hi all,<br><br>Sorry to bother you!<br><br>I&#39;m not sure is it a bug.<br><br>I&#39;m working with rpm-4.8.0, and find that &quot;--rcfile&quot; 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      &lt;&lt;&lt;&lt; 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    &lt;&lt;&lt; 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   &lt;&lt;&lt; the macro file<br>
%_topdir  /root/rpm<br><br>[root@rhel6 rpm-4.8.0]$/bin/rpm --rcfile /root/rpmbuild/rpmrc --showrc |grep &quot;_topdir&quot;<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   &lt;&lt;&lt;&lt;&lt;&lt; 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>