On Thu, 2010-01-28 at 14:12 -0500, Xingjun Chu wrote:
> Resent using Plain text
> 
> Hi, 
> 
> I would like to have some input from people who are familiar with the
> ISO/RPM build process.
> 
> The sipXconfig 's cmcprov (plug in of counter path) 's configuration
> file is defined to be under directory
> "conf.d...@sipx_confdir@"/counterpath . the value of the @SIPX_CONFDIR@
> is replace during build process.
> 
> According to this JIRA, the path defined by @SIPX_CONFDIR@ seems to be
> like 
> 
> home/buildbot/sipx/dist/etc/sipxpbx/counterpath/cmcprov.properties
> 
> According to the comments, it doesn't seem right location, which is why
> the plug in cannot find it.
> 
> Why the @SIPX_CONFDIR@ ends up with the
> "/home/buildbot/sipx/dist/etc/sipxpbx/" if it's not the right location.

This happens during the build process because during the first pass of
the build (doing the unit tests), the prefix is set
to /home/buildbot/sipx/dist/, and that copy of the file ends up in the
final package.

You either need to add a dependency to the file that will force it to be
regenerated in the rpm build, or ensure that it is not packaged into the
sources for the rpm build.





_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to