On Mon, Dec 6, 2010 at 10:40 AM, Eda Ercan <[email protected]> wrote: > After pulling the updates from Douglas' repository and following the steps > in the wiki page, > > http://wiki.sipfoundry.org/display/sipXecs/Building+RPMS+on+CentOS+or+Fedora > > build and install steps are completed successfully in my machine. However, I > could not make rpm files. > > I am not sure about what this error is, so any help from you is welcome. > > make[1]: Leaving directory `/home/build/rpm-build/ucap/RPMBUILD/sipXportLib' > test -d /home/build/libsrc || mkdir -p /home/build/libsrc > if [ -n "" ]; then \ > \ > rpmbuild -bs --nodeps --define='buildno 1.f833c35' ; \ > else \ > rpmbuild -ts --nodeps --define='buildno 1.f833c35' > sipXportLib/sipxportlib-0.0.4.5.1.tar.gz; \ > fi > error: File > /home/build/rpm-build/ucap/RPMBUILD/sipXportLib/sipxportlib-0.0.4.5.1.tar.gz > does not appear to be a specfile. > make: *** [sipXportLib.srpm] Error 1 > > I extracted the tar.gz file to check if it contains a spec file, and > everything seemed ok.
hmmm. sipXportLib should be running rpmbuild --ts ... which should not require a spec file. Try editing the ./mak/10-rpm.mk and changing the if block to ensure the correct rpmbuild command is executed. Make your final changes to ./mak/10-rpm.mk.in and submit those if any. What OS and version are you on? _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
