HAYASHI Kentaro
null+****@clear*****
Tue Aug 21 18:30:40 JST 2012
HAYASHI Kentaro 2012-08-21 18:30:40 +0900 (Tue, 21 Aug 2012) New Revision: 4e15952c7d0810eee153ce2733a3592dafc8643c https://github.com/groonga/groonga/commit/4e15952c7d0810eee153ce2733a3592dafc8643c Log: yum: use custom .rpmrc for mecab and related package TODO: fix mecab %install error for CentOS 5 i386/x86_64 refs #1455 Modified files: packages/yum/build-rpm.sh Modified: packages/yum/build-rpm.sh (+4 -1) =================================================================== --- packages/yum/build-rpm.sh 2012-08-21 16:32:11 +0900 (7488ed0) +++ packages/yum/build-rpm.sh 2012-08-21 18:30:40 +0900 (fde7ac2) @@ -93,6 +93,9 @@ cat <<EOM > ~/.rpmmacros %_topdir \$HOME/rpmbuild EOM +cat /usr/lib/rpm/rpmrc > ~/.rpmrc-for-mecab +sed -i'' -e 's/march=i386/march=i586/' ~/.rpmrc-for-mecab + rm -rf rpmbuild mkdir -p rpmbuild/SOURCES mkdir -p rpmbuild/SPECS @@ -115,7 +118,7 @@ mv *.spec ~/rpmbuild/SPECS/ mv * ~/rpmbuild/SOURCES/ cd .. rm -rf tmp -rpmbuild -ba rpmbuild/SPECS/*.spec +rpmbuild -ba rpmbuild/SPECS/*.spec --rcfile ~/.rpmrc-for-mecab cp -p rpmbuild/RPMS/*/*.rpm dependencies/RPMS/ cp -p rpmbuild/SRPMS/*.rpm dependencies/SRPMS/ -------------- next part -------------- HTML����������������������������... 下載