I tried to use scripts/ci/rpmbuilder.sh but it failed with these mssags:

[babak@localhost freeswitch-stable]$ ./scripts/ci/rpmbuilder.sh stable
cp: cannot stat `src_dist/*': No such file or directory
error: Macro %BUILD_NUMBER has empty body
error: Macro %BUILD_NUMBER has empty body
error: File /home/babak/src/freeswitch-stable/rpmbuild/SOURCES/freeswitch-stable.0.0.tar.bz2: No such file or directory
mkdir: cannot create directory `/home/babak/src/freeswitch-stable/RPMS': File exists
mv: cannot stat `/home/babak/src/freeswitch-stable/rpmbuild/*/*.rpm': No such file or directory
----------------------------------------------------------------------
The vstable.0.0- RPMs have been rolled, now we
just need to push them to the YUM Repo
----------------------------------------------------------------------



On Wed, Sep 18, 2013 at 11:29 PM, Babak Yakhchali <babak.freeswitch@gmail.com> wrote:
Hi
I was trying to create freeswitch rpm from stable git branch but I get this error in the last line:

Processing files: freeswitch-devel-stable-1.el6.x86_64
error: File not found by glob: /home/babak/rpmbuild/BUILDROOT/freeswitch-stable-1.el6.x86_64/usr/lib64/freeswitch/mod/*.a
RPM build errors:
    File not found by glob: /home/babak/rpmbuild/BUILDROOT/freeswitch-stable-1.el6.x86_64/usr/lib64/freeswitch/mod/*.a

I attached the full log to this email.