Rpmbuild command

From 탱이의 잡동사니
Revision as of 15:16, 3 August 2016 by Pchero (talk | contribs)
Jump to navigation Jump to search

Overview

rpmbuild command 내용 정리.

Options

-bb

Binary 패키지 파일들만 생성한다. <source lang=bash> $ rpmbuild -bb test.spec </source>

--showrc

설정된 모든 rpmrc 와 매크로 내용을 나타낸다.

$ rpmbuild --showrc
ARCHITECTURE AND OS:
build arch            : x86_64
compatible build archs: x86_64 noarch
build os              : Linux
compatible build os's : Linux
install arch          : x86_64
install os            : Linux
compatible archs      : x86_64 amd64 athlon noarch i686 i586 i486 i386 fat
compatible os's       : Linux

RPMRC VALUES:
optflags              : -O2 -g

Features supported by rpmlib:
    rpmlib(BuiltinLuaScripts) = 4.2.2-1
    rpmlib(CompressedFileNames) = 3.0.4-1
    rpmlib(ConcurrentAccess) = 4.1-1
...
-14: _texmf_vendor	/usr/share/texmf
-14: _tmppath	%{_var}/tmp
-14: _topdir	%{getenv:HOME}/rpmbuild
-14: _transaction_color	3
...