<HTML>
<HEAD>
<TITLE>Re: [asterisk-users] Building an RPM from Asterisk 1.4</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14.0px'>I’d like to know why the spec file is even included at all then?<BR>
I think we’d prefer to build our own, rather than trust someone elses build.<BR>
<BR>
<BR>
On 9/19/07 3:22 PM, "Tzafrir Cohen" <tzafrir.cohen@xorcom.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14.0px'>On Wed, Sep 19, 2007 at 02:54:17PM -0700, Douglas Garstang wrote:<BR>
> Ok, so I'm no rpm expert, but Asterisk 1.4.11 comes with an asterisk.spec<BR>
> file. Running rpmbuild against it yields errors, the first one being that<BR>
> the 'Copyright' tag is unknown, and that I need a License tag instead.<BR>
><BR>
> Fixed that, and...<BR>
><BR>
> Processing files: asterisk-CVS-1<BR>
> error: File not found: /tmp/asterisk/etc/asterisk<BR>
> error: File not found by glob: /tmp/asterisk/etc/asterisk/*.conf<BR>
> error: File not found by glob: /tmp/asterisk/etc/asterisk/*.adsi<BR>
> error: File not found: /tmp/asterisk/etc/asterisk/extensions.ael<BR>
> error: File not found: /tmp/asterisk/etc/rc.d/init.d/asterisk<BR>
><BR>
> .... And so on. What am I missing here? Why doesn't rpm build the<BR>
> /tmp/asterisk directory itself?<BR>
<BR>
So you'll catch those errors.<BR>
<BR>
> Why is it looking for files that obviously<BR>
> don't exist?<BR>
<BR>
That spec uses quite a few discourged methods for rpm packages. There<BR>
are a number of well-maintained RPM packages of Asterisk. Use one of<BR>
them or modify one of them.<BR>
<BR>
--<BR>
Tzafrir Cohen<BR>
icq#16849755 jabber:tzafrir@jabber.org<BR>
+972-50-7952406 <a href="mailto:tzafrir.cohen@xorcom.com">mailto:tzafrir.cohen@xorcom.com</a><BR>
<a href="http://www.xorcom.com">http://www.xorcom.com</a> iax:guest@local.xorcom.com/tzafrir<BR>
<BR>
_______________________________________________<BR>
<BR>
Sign up now for AstriCon 2007! September 25-28th. <a href="http://www.astricon.net/">http://www.astricon.net/</a><BR>
<BR>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><BR>
<BR>
asterisk-users mailing list<BR>
To UNSUBSCRIBE or update options visit:<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14.0px'><BR>
</SPAN></FONT>
</BODY>
</HTML>