> From: Manoj Kasichainula <[EMAIL PROTECTED]>
> Subject: Re: mime types when attaching files not working
>
> On Wed, May 10, 2000 at 12:35:51PM -0500, Carlos Puchol wrote:
> > hi, it appears i the setting of proper mime types does not
> > work when attaching files. i am attaching two files a ps file and
> > a gif file. you will see that one comes out as text/plain and the
> > other as applica/octet-stream.
> >
> > i have tried with all ~/.mutt* files removed . mine is a regular
> > redhat 6.2 installation. further it seems like all the settings
> > are ok in the /etc/mime.types file:
>
> I just found this a few days ago helping a friend. Red Hat's mutt
> build is broken (because they don't use the BuildRoot functionality
> correctly when compiling their RPM).
>
> > SHAREDIR="/var/tmp/mutt-root/etc"
> > SYSCONFDIR="/var/tmp/mutt-root/etc"
>
> This is the evidence of that.
hi, thanks for your tip.
it looks like the problematic part of the rpm spec is this one:
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT/usr \
sharedir=$RPM_BUILD_ROOT/etc \
sysconfdir=$RPM_BUILD_ROOT/etc \
docdir=$RPM_BUILD_ROOT/usr/doc/mutt-%{version} install
i don't know much about rpms, but
i have tried removing the $RPM_BUILD_ROOT, and what
happens is that when the install time comes,
it tries to overwrite stuff in /etc, naturally, however,
i always compile rpms as a uder, never as root, to
prevent percisely these kinds of security violations.
do you have any suggestions?
alternatively, are there any suggestions of
some place to get some decent
(s)rpms that of mutt 1.2?
thanks for your help,
++ carlos