Hi,

nozawat wrote:
Hi

I want to make rpm in latest corosync(git clone http://corosync.org/git/corosync.git). However, I became the error if I would make rpm and was not able to make it.
The making of the rpm file is possible from release of corosync-1.3.0.
I attach log when I carried it out.

# git clone http://corosync.org/git/corosync.git
# cd corosync
# git checkout -b flatiron origin/flatiron
Branch flatiron set up to track remote branch refs/remotes/origin/flatiron.
Switched to a new branch "flatiron"
# git pull
Already up-to-date.
# ./autogen.sh
# ./configure

Edit Makefile, search for

RPMBUILDOPTS    = --define "_sourcedir $(abs_builddir)" \
                 --define "_specdir $(abs_builddir)" \
                 --define "_builddir $(abs_builddir)" \
                 --define "_srcrpmdir $(abs_builddir)" \
                 --define "_rpmdir $(abs_builddir)"

Replace with

RPMBUILDOPTS    = --define "_sourcedir /usr/src/redhat/SOURCES" \
                 --define "_specdir /usr/src/redhat/SPECS" \
                 --define "_builddir /usr/src/redhat/BUILD" \
                 --define "_srcrpmdir /usr/src/redhat/SRPMS" \
                 --define "_rpmdir /usr/src/redhat/RPMS"

# make rpm

Regards,
Dan
Regards,
Tomo
------------------------------------------------------------------------

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

--
Dan FRINCU
Systems Engineer
CCNA, RHCE
Streamwide Romania

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to