/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to SCM/packaging/rpm/rpm.commands

  • Committer: Suren A. Chilingaryan
  • Date: 2017-04-03 02:45:17 UTC
  • Revision ID: csa@suren.me-20170403024517-dwzj0z0k1cmhxm7u
Restructuring, OpenShift, Ansible, Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Query:
 
2
    rpm -q --queryformat %{=NAME} %{FILENAMES} %{FILESIZES} %{SIZE}
 
3
                        also may be used all spec virables
 
4
    rpm -qc             Config Files
 
5
    rpm -qd             Documentation Files
 
6
Install:
 
7
    --prefix            Install in other directory(Package must been reloctable)
 
8
Build:
 
9
    -bp                 Executes %prep
 
10
    -bc                 Executes %prep %build
 
11
    -bi                 Executes %prep %build %install
 
12
    -bb                 Builds Binary Package
 
13
    -bs                 Builds Source Package
 
14
    -ba                 Builds all Source & Binary Packages
 
15
    -bc                 Check File List
 
16
    --short-circuit     Skip %prep section for RPM Building
 
17
    --clean             Cleans temporaty files
 
18
    --sign              Adds PGP signature
 
19
    --buildarch <>      Build Architecture
 
20
    --buildos   <>      BUild Os
 
21
    --timecheck <sec>   Warn if files older then <sec> seconds
 
22
    -v                  Debug Output
 
23
Source Building:
 
24
    rpm --recompile <srpm>      Install Source RPM
 
25
    rpn --rebuild <srpm>        Makes Binary Packages
 
 
b'\\ No newline at end of file'