Re: Need help with building rpms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthew,

On Fri, Nov 23, 2012 at 10:23:27AM -0500, Matthew Miller wrote:
> 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.
> 

This is part of the Makefile generated by configure in the %config
section.  Does that mean I have to patch the Makefile after it is
generated and then do as you suggest in the %files section?

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux