Need help with building rpms
Matthew Miller
mattdm at fedoraproject.org
Fri Nov 23 15:23:27 UTC 2012
On Fri, Nov 23, 2012 at 04:16:46PM +0100, Suvayu Ali wrote:
> I am trying to build my own rpm for mutt. I am using the spec file from
> the Fedora srpm. During the build it fails on the following command.
>
>
> if test -f $BUILDROOT/usr/bin/mutt_dotlock && test xmail != x ; then \
> chgrp mail $BUILDROOT/usr/bin/mutt_dotlock && \
> chmod 2755 $BUILDROOT/usr/bin/mutt_dotlock || \
> { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit 1 ; } \
> fi
> This is the error message I get.
Instead of changing the permissions in that way, use %attr in the %files
section.
--
Matthew Miller ☁☁☁ Fedora Cloud Architect ☁☁☁ <mattdm at fedoraproject.org>
More information about the users
mailing list