On Wednesday 04 Jun 2003 9:30 am, Binand Sethumadhavan wrote:
> On Tue, Jun 03, 2003 at 11:13:46PM -0400, Binand Sethumadhavan wrote:
> > $RPM_BUILD_ROOT is specified in the package spec file using the
> > BuildRoot: directive. For Red Hat's official packages, it usually is
> > /var/tmp/pkgname-version-root.
>
> Further, most spec files have rm -fr $RPM_BUILD_ROOT in the %clean
> section, so you might have to build your package with rpm -bi
> (instead of rpm -ba or rpm -bb) to see what all stuff is present
> in your $RPM_BUILD_ROOT.
>
> In any case, your initial problem would have been solved by
> the addition to your ~/.rpmmacros as suggested in my first mail
> on this thread. Let me know if otherwise.
Thank you. the ~/.rpmmacros helped though I got the
warning: Installed (but unpackaged) file(s) found:
/usr/share/doc/lame/html/basic.html
/usr/share/doc/lame/html/contributors.html
/usr/share/doc/lame/html/examples.html
/usr/share/doc/lame/html/history.html
/usr/share/doc/lame/html/id3.html
/usr/share/doc/lame/html/index.html
/usr/share/doc/lame/html/lame.css
/usr/share/doc/lame/html/modes.html
/usr/share/doc/lame/html/node6.html
/usr/share/doc/lame/html/switchs.html
But rpms were built.
However to findout the $RPM_BUILD_ROOT, I removed rpms and the file
~/.rpmmacros. Then I did rebuild now I saw spec in /usr/src/RPMS/SPECS. In
that
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n).
I also saw "Using BuildRoot: /%{tmpdir}/lame-3.91-root-root" in the run for
building rpms.
But in /tmp/ I didn't find lame-3.91-root-root.
--
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help