[rpm] rpmbuild시 패키징시 실패날 경우!

* 출 처 : http://www.oops.org
oops.org의 안녕리눅스 src.rpm 빌드시 아래와 같이 오류가 났다.

경고: Installed (but unpackaged) file(s) found:
   /etc/rc.d/init.d/opensshd
   /usr/share/man/man5/moduli.5.gz

rpm버전에 따라 오류가 난다고 한다..

rpm -Uvh source.src.rpm 후

vi /usr/src/redhat/SPEC/source.spec

최상단에

%define _unpackaged_files_terminate_build 0

삽입 후

rpmbuild -ba $SPEC_DIR/source.spec --target=i686

끝!

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by ⓒ쟁이™

2007/11/17 16:39 2007/11/17 16:39
, , , , , ,
Response
No Trackback , a comment
RSS :
http://funix.net/rss/response/2


Archives

65

54

-14 days

today : 58

Creative Commons License

이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.