gbp-buildpackage-rpm.sgml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. <refentry id="man.gbp.buildpackage.rpm">
  2. <refentryinfo>
  3. <address>
  4. &rpm-email;
  5. </address>
  6. <author>
  7. &rpm-firstname;
  8. &rpm-surname;
  9. </author>
  10. </refentryinfo>
  11. <refmeta><refentrytitle>gbp-buildpackage-rpm</refentrytitle>
  12. &dhsection;
  13. </refmeta>
  14. <refnamediv>
  15. <refname>gbp-buildpackage-rpm</refname>
  16. <refpurpose>Build RPM packages from a Git repository</refpurpose>
  17. </refnamediv>
  18. <refsynopsisdiv>
  19. <cmdsynopsis>
  20. &gbp-buildpackage-rpm;
  21. <arg><option>--git-[no-]ignore-new</option></arg>
  22. <arg><option>--git-tag</option></arg>
  23. <arg><option>--git-verbose</option></arg>
  24. <arg><option>--git-color=</option><replaceable>[auto|on|off]</replaceable></arg>
  25. <arg><option>--git-color-scheme=</option><replaceable>COLOR_SCHEME</replaceable></arg>
  26. <arg><option>--git-notify=</option><replaceable>[auto|on|off]</replaceable></arg>
  27. <arg><option>--git-tmp-dir</option>=<replaceable>DIRECTORY</replaceable></arg>
  28. <arg><option>--git-vendor</option>=<replaceable>VENDOR</replaceable></arg>
  29. <arg><option>--git-native</option>=<replaceable>[auto|on|off]</replaceable></arg>
  30. <arg><option>--git-upstream-branch=</option><replaceable>TREEISH</replaceable></arg>
  31. <arg><option>--git-packaging-branch=</option><replaceable>BRANCH_NAME</replaceable></arg>
  32. <arg><option>--git-ignore-branch</option></arg>
  33. <arg><option>--git-[no-]submodules</option></arg>
  34. <arg><option>--git-builder=</option><replaceable>BUILD_CMD</replaceable></arg>
  35. <arg><option>--git-cleaner=</option><replaceable>CLEAN_CMD</replaceable></arg>
  36. <arg><option>--git-[no-]sign-tags</option></arg>
  37. <arg><option>--git-keyid=</option><replaceable>GPG-KEYID</replaceable></arg>
  38. <arg><option>--git-posttag=</option><replaceable>COMMAND</replaceable></arg>
  39. <arg><option>--git-postbuild=</option><replaceable>COMMAND</replaceable></arg>
  40. <arg><option>--git-postexport=</option><replaceable>COMMAND</replaceable></arg>
  41. <arg><option>--git-prebuild=</option><replaceable>COMMAND</replaceable></arg>
  42. <arg><option>--git-[no-]build</option></arg>
  43. <arg><option>--git-[no-]hooks</option></arg>
  44. <arg><option>--git-packaging-tag=</option><replaceable>TAG-FORMAT</replaceable></arg>
  45. <arg><option>--git-upstream-tag=</option><replaceable>TAG-FORMAT</replaceable></arg>
  46. <arg><option>--git-force-create</option></arg>
  47. <arg><option>--git-no-create-orig</option></arg>
  48. <arg><option>--git-upstream-tree=</option><replaceable>[TAG|BRANCH|TREEISH]</replaceable></arg>
  49. <arg><option>--git-tarball-dir=</option><replaceable>DIRECTORY</replaceable></arg>
  50. <arg><option>--git-compression-level=</option><replaceable>LEVEL</replaceable></arg>
  51. <arg><option>--git-export-dir=</option><replaceable>DIRECTORY</replaceable></arg>
  52. <arg><option>--git-export=</option><replaceable>TREEISH</replaceable></arg>
  53. <arg><option>--git-packaging-dir=</option><replaceable>DIRECTORY</replaceable></arg>
  54. <arg><option>--git-spec-file=</option><replaceable>FILEPATH</replaceable></arg>
  55. <arg><option>--git-export-sourcedir</option>=<replaceable>DIRECTORY</replaceable></arg>
  56. <arg><option>--git-export-specdir</option>=<replaceable>DIRECTORY</replaceable></arg>
  57. <arg><option>--git-[no-]pristine-tar</option></arg>
  58. <arg><option>--git-[no-]pristine-tar-commit</option></arg>
  59. <arg><option>--git-tag-only</option></arg>
  60. <arg><option>--git-retag</option></arg>
  61. <arg><option>--git-mock</option></arg>
  62. <arg><option>--git-dist</option>=<replaceable>DISTRIBUTION</replaceable></arg>
  63. <arg><option>--git-arch</option>=<replaceable>ARCHITECTURE</replaceable></arg>
  64. <arg><option>--git-mock-options</option>=<replaceable>OPTIONS</replaceable></arg>
  65. <arg><option>--git-mock-root</option>=<replaceable>ROOT</replaceable></arg>
  66. </cmdsynopsis>
  67. </refsynopsisdiv>
  68. <refsect1>
  69. <title>DESCRIPTION</title>
  70. <para>
  71. &gbp-buildpackage-rpm; is used to build RPM packages from a &git;
  72. repository. It is an RPM counterpart for the &gbp-buildpackage; tool that
  73. is designed for building Debian packages.
  74. </para>
  75. <para>
  76. &gbp-buildpackage-rpm; will, in order:
  77. </para>
  78. <itemizedlist>
  79. <listitem>
  80. <para>
  81. Verify that it is being executed from the proper location.
  82. </para>
  83. </listitem>
  84. <listitem>
  85. <para>
  86. Verify that the repository doesn't contain any uncommitted source
  87. changes.
  88. </para>
  89. </listitem>
  90. <listitem>
  91. <para>
  92. Verify that it is being executed from the correct branch.
  93. </para>
  94. </listitem>
  95. <listitem>
  96. <para>
  97. Export packaging files to a separate build area.
  98. </para>
  99. </listitem>
  100. <listitem>
  101. <para>
  102. Create an orig source tarball if it doesn't exist.
  103. </para>
  104. </listitem>
  105. <listitem>
  106. <para>
  107. Call <application>rpmbuild</application>(1) (or the application
  108. specified via <option>--git-builder</option>), passing along all
  109. command line arguments that don't start with --git-.
  110. </para>
  111. </listitem>
  112. <listitem>
  113. <para>
  114. (Optionally) tag the tree after a successful build.
  115. </para>
  116. </listitem>
  117. <listitem>
  118. <para>
  119. (Optionally) call a post build hook - e.g. to run
  120. <productname>rpmlint</productname>.
  121. </para>
  122. </listitem>
  123. <listitem>
  124. <para>
  125. (Optionally) call a post tag hook - e.g. to push the results to a
  126. remote repository after creating the tag.
  127. </para>
  128. </listitem>
  129. </itemizedlist>
  130. </refsect1>
  131. <refsect1>
  132. <title>OPTIONS</title>
  133. <variablelist>
  134. <varlistentry>
  135. <term><option>--git-[no-]ignore-new</option>
  136. </term>
  137. <listitem>
  138. <para>
  139. Don't abort if there are uncommitted changes in the source tree or
  140. the current branch doesn't match the
  141. <replaceable>PACKAGING-BRANCH</replaceable>.
  142. </para>
  143. </listitem>
  144. </varlistentry>
  145. <varlistentry>
  146. <term><option>--git-tag</option>
  147. </term>
  148. <listitem>
  149. <para>
  150. Add a git tag after a successful build.
  151. </para>
  152. </listitem>
  153. </varlistentry>
  154. <varlistentry>
  155. <term><option>--git-builder=<replaceable>BUILD_CMD</replaceable></option>
  156. </term>
  157. <listitem>
  158. <para>
  159. Use <replaceable>BUILD_CMD</replaceable> instead of
  160. <command>rpmbuild -ba</command>.
  161. </para>
  162. </listitem>
  163. </varlistentry>
  164. <varlistentry>
  165. <term><option>--git-cleaner=<replaceable>CLEAN_CMD</replaceable></option>
  166. </term>
  167. <listitem>
  168. <para>
  169. Use <replaceable>CLEAN_CMD</replaceable>.
  170. </para>
  171. </listitem>
  172. </varlistentry>
  173. <varlistentry>
  174. <term><option>--git-verbose</option>
  175. </term>
  176. <listitem>
  177. <para>
  178. Verbose execution
  179. </para>
  180. </listitem>
  181. </varlistentry>
  182. <varlistentry>
  183. <term><option>--git-color=</option><replaceable>[auto|on|off]</replaceable>
  184. </term>
  185. <listitem>
  186. <para>
  187. Whether to use colored output.
  188. </para>
  189. </listitem>
  190. </varlistentry>
  191. <varlistentry>
  192. <term><option>--git-color-scheme=</option><replaceable>COLOR_SCHEME</replaceable>
  193. </term>
  194. <listitem>
  195. <para>
  196. Colors to use in output (when color is enabled). The format for
  197. COLOR_SCHEME is
  198. '&lt;debug&gt;:&lt;info&gt;:&lt;warning&gt;:&lt;error&gt;'.
  199. Numerical values and color names are accepted, empty fields imply
  200. the default color. For example --git-color-scheme='cyan:34::' would
  201. show debug messages in cyan, info messages in blue and other messages
  202. in default (i.e. warning and error messages in red).
  203. </para>
  204. </listitem>
  205. </varlistentry>
  206. <varlistentry>
  207. <term><option>--git-notify=</option><replaceable>[auto|on|off]</replaceable>
  208. </term>
  209. <listitem>
  210. <para>
  211. Whether to send a desktop notification after the build.
  212. </para>
  213. </listitem>
  214. </varlistentry>
  215. <varlistentry>
  216. <term><option>--git-tmp-dir</option>=<replaceable>DIRECTORY</replaceable>
  217. </term>
  218. <listitem>
  219. <para>
  220. Base directory under which temporary directories are created.
  221. </para>
  222. </listitem>
  223. </varlistentry>
  224. <varlistentry>
  225. <term><option>--git-vendor</option>=<replaceable>VENDOR</replaceable>
  226. </term>
  227. <listitem>
  228. <para>
  229. Distribution vendor name.
  230. </para>
  231. </listitem>
  232. </varlistentry>
  233. <varlistentry>
  234. <term><option>--git-native=</option><replaceable>[auto|on|off]</replaceable>
  235. </term>
  236. <listitem>
  237. <para>
  238. Define the 'nativity' of a package. The default value
  239. <replaceable>auto</replaceable> makes &gbp-buildpackage-rpm; to
  240. guess. Guessing is based on the existence of upstream branch.
  241. </para>
  242. </listitem>
  243. </varlistentry>
  244. <varlistentry>
  245. <term><option>--git-upstream-branch</option>=<replaceable>BRANCH_NAME</replaceable>
  246. </term>
  247. <listitem>
  248. <para>
  249. Branch to build the orig tarball from if
  250. <option>--git-upstream-tree</option> is set to
  251. <replaceable>BRANCH</replaceable>. Default is
  252. <replaceable>upstream</replaceable>.
  253. </para>
  254. </listitem>
  255. </varlistentry>
  256. <varlistentry>
  257. <term><option>--git-packaging-branch</option>=<replaceable>BRANCH_NAME</replaceable>
  258. </term>
  259. <listitem>
  260. <para>
  261. If you're not on this branch when invoking &gbp-buildpackage-rpm; it
  262. will fail. Default is <replaceable>master</replaceable>. This is done
  263. to make sure you don't accidentally release from a topic branch. Not
  264. being on this branch will be ignored when using
  265. <option>--git-ignore-new</option>.
  266. </para>
  267. </listitem>
  268. </varlistentry>
  269. <varlistentry>
  270. <term><option>--git-ignore-branch</option>
  271. </term>
  272. <listitem>
  273. <para>
  274. Don't check if the current branch matches
  275. <replaceable>PACKAGING-BRANCH</replaceable>.
  276. </para>
  277. </listitem>
  278. </varlistentry>
  279. <varlistentry>
  280. <term><option>--git-[no-]submodules</option>
  281. </term>
  282. <listitem>
  283. <para>
  284. Include git submodules in the orig tarball.
  285. </para>
  286. </listitem>
  287. </varlistentry>
  288. <varlistentry>
  289. <term><option>--git-[no-]sign-tags</option>
  290. </term>
  291. <listitem>
  292. <para>
  293. GPG sign all created tags.
  294. </para>
  295. </listitem>
  296. </varlistentry>
  297. <varlistentry>
  298. <term><option>--git-keyid=</option><replaceable>GPG-KEYID</replaceable>
  299. </term>
  300. <listitem>
  301. <para>
  302. Use this keyid for gpg signing tags.
  303. </para>
  304. </listitem>
  305. </varlistentry>
  306. <varlistentry>
  307. <term><option>--git-posttag=</option><replaceable>COMMAND</replaceable>
  308. </term>
  309. <listitem>
  310. <para>
  311. Excecute <replaceable>COMMAND</replaceable> after tagging a new
  312. version.
  313. </para>
  314. <para>
  315. Exported environment variables are: <envar>GBP_TAG</envar> (the name
  316. of the generated tag), <envar>GBP_BRANCH</envar> (the branch the
  317. package was build from) and <envar>GBP_SHA1</envar> (the sha1 of the
  318. commit the tag was created at).
  319. </para>
  320. </listitem>
  321. </varlistentry>
  322. <varlistentry>
  323. <term><option>--git-postbuild=</option><replaceable>COMMAND</replaceable>
  324. </term>
  325. <listitem>
  326. <para>
  327. Execute <replaceable>COMMAND</replaceable> after successful
  328. build.
  329. </para>
  330. <para>
  331. Exported environment variables are: <envar>GBP_CHANGES_FILE</envar>
  332. (the name of the generated changes file),
  333. <envar>GBP_BUILD_DIR</envar> (the build dir).
  334. </para>
  335. </listitem>
  336. </varlistentry>
  337. <varlistentry>
  338. <term><option>--git-postexport=</option><replaceable>COMMAND</replaceable>
  339. </term>
  340. <listitem>
  341. <para>
  342. Execute <replaceable>COMMAND</replaceable> after exporting the source
  343. tree.
  344. </para>
  345. <para>
  346. Exported environment variables are: <envar>GBP_GIT_DIR</envar> (the
  347. repository the package is being built from),
  348. <envar>GBP_TMP_DIR</envar> (the temporary directory where the sources
  349. have been initially exported).
  350. </para>
  351. </listitem>
  352. </varlistentry>
  353. <varlistentry>
  354. <term><option>--git-prebuild=</option><replaceable>COMMAND</replaceable>
  355. </term>
  356. <listitem>
  357. <para>
  358. Execute <replaceable>COMMAND</replaceable> from the build directory
  359. before calling <application>rpmbuild</application> or the application
  360. specified via <option>--git-builder</option>.
  361. </para>
  362. <para>
  363. Exported environment variables are: <envar>GBP_GIT_DIR</envar> (the
  364. repository the package is being built from),
  365. <envar>GBP_BUILD_DIR</envar> (the build dir).
  366. </para>
  367. </listitem>
  368. </varlistentry>
  369. <varlistentry>
  370. <term><option>--git-[no-]build</option>
  371. </term>
  372. <listitem>
  373. <para>
  374. Enable builder. Note: <option>--git-no-build</option> causes the
  375. postbuild hook to be disabled, too.
  376. </para>
  377. </listitem>
  378. </varlistentry>
  379. <varlistentry>
  380. <term><option>--git-[no-]hooks</option>
  381. </term>
  382. <listitem>
  383. <para>
  384. Enable running all (cleaner, postexport, prebuild, postbuild, and
  385. posttag) hooks. Note: the <option>--git-builder</option> command is
  386. not affected by this option.
  387. </para>
  388. </listitem>
  389. </varlistentry>
  390. <varlistentry>
  391. <term><option>--git-packaging-tag=</option><replaceable>TAG-FORMAT</replaceable>
  392. </term>
  393. <listitem>
  394. <para>
  395. Use this tag format when tagging released versions of the package.
  396. </para>
  397. </listitem>
  398. </varlistentry>
  399. <varlistentry>
  400. <term><option>--git-upstream-tag=</option><replaceable>TAG-FORMAT</replaceable>
  401. </term>
  402. <listitem>
  403. <para>
  404. Use this tag format when looking for tags of upstream versions,
  405. default is <replaceable>upstream/%(version)s</replaceable>.
  406. </para>
  407. </listitem>
  408. </varlistentry>
  409. <varlistentry>
  410. <term><option>--git-force-create</option>
  411. </term>
  412. <listitem>
  413. <para>
  414. Force creation of an orig tarball (overwriting a pre-existing one if
  415. present).
  416. </para>
  417. </listitem>
  418. </varlistentry>
  419. <varlistentry>
  420. <term><option>--git-no-create-orig</option>
  421. </term>
  422. <listitem>
  423. <para>
  424. Don't try to create any orig tarball.
  425. </para>
  426. </listitem>
  427. </varlistentry>
  428. <varlistentry>
  429. <term><option>--git-export-dir=</option><replaceable>DIRECTORY</replaceable>
  430. </term>
  431. <listitem>
  432. <para>
  433. Export the packaging files from the current branch head (or the
  434. treeish object given via <option>--git-export</option> to
  435. <replaceable>DIRECTORY</replaceable> before building.
  436. </para>
  437. </listitem>
  438. </varlistentry>
  439. <varlistentry>
  440. <term><option>--git-export-sourcedir</option>=<replaceable>DIRECTORY</replaceable>
  441. </term>
  442. <term><option>--git-export-specdir</option>=<replaceable>DIRECTORY</replaceable>
  443. </term>
  444. <listitem>
  445. <para>
  446. Subdirectories under export directory where packaging files are
  447. exported. The default build options of rpmbuild builder are also
  448. adjusted accordingly.
  449. </para>
  450. </listitem>
  451. </varlistentry>
  452. <varlistentry>
  453. <term><option>--git-export=</option><replaceable>TREEISH</replaceable>
  454. </term>
  455. <listitem>
  456. <para>
  457. Instead of exporting the current branch head, export the treeish
  458. object <replaceable>TREEISH</replaceable>. The special name
  459. <replaceable>INDEX</replaceable> exports the current index,
  460. <replaceable>WC</replaceable>) exports all files in the
  461. current working directory.
  462. </para>
  463. </listitem>
  464. </varlistentry>
  465. <varlistentry>
  466. <term><option>--git-packaging-dir=</option><replaceable>DIRECTORY</replaceable>
  467. </term>
  468. <listitem>
  469. <para>
  470. Subdirectory that contains the RPM packaging files.
  471. </para>
  472. </listitem>
  473. </varlistentry>
  474. <varlistentry>
  475. <term><option>--git-spec-file=</option><replaceable>FILEPATH</replaceable>
  476. </term>
  477. <listitem>
  478. <para>
  479. Relative path to the spec file to use. Special value
  480. <replaceable>auto</replaceable> causes &gbp-buildpackage-rpm; to
  481. search and guess. Other values cause the
  482. <option>--git-packaging-dir</option> option to be ignored: the
  483. directory of the spec file is used, instead.
  484. </para>
  485. </listitem>
  486. </varlistentry>
  487. <varlistentry>
  488. <term><option>--git-upstream-tree=</option><replaceable>[TAG|BRANCH|TREEISH]</replaceable>
  489. </term>
  490. <listitem>
  491. <para>
  492. How to find the upstream sources used to generate the tarball.
  493. <replaceable>TAG</replaceable> looks at a tag corresponding to the
  494. version in the changelog. <replaceable>BRANCH</replaceable> looks at
  495. the upstream branch given via the
  496. <option>--git-upstream-branch</option> option. Other values are
  497. interpreted as treeishs.
  498. </para>
  499. <para>
  500. This doesn't have any effect if <option>--git-pristine-tar</option>
  501. is being used.
  502. </para>
  503. </listitem>
  504. </varlistentry>
  505. <varlistentry>
  506. <term><option>--git-tarball-dir=</option><replaceable>DIRECTORY</replaceable>
  507. </term>
  508. <listitem>
  509. <para>
  510. Search for original tarballs in <replaceable>DIRECTORY</replaceable>
  511. instead of generating them.
  512. </para>
  513. </listitem>
  514. </varlistentry>
  515. <varlistentry>
  516. <term><option>--git-compression-level=</option><replaceable>LEVEL</replaceable>
  517. </term>
  518. <listitem>
  519. <para>
  520. Specifies the upstream tarball compression level if an upstream
  521. tarball needs to be built.
  522. </para>
  523. </listitem>
  524. </varlistentry>
  525. <varlistentry>
  526. <term><option>--git-tag-only</option>
  527. </term>
  528. <listitem>
  529. <para>
  530. Don't build, only tag and run post-tag hooks.
  531. </para>
  532. </listitem>
  533. </varlistentry>
  534. <varlistentry>
  535. <term><option>--git-retag</option>
  536. </term>
  537. <listitem>
  538. <para>
  539. Don't fail tag operations if a tag with the same version already
  540. exists, but, overwrite the existing tag, instead.
  541. </para>
  542. </listitem>
  543. </varlistentry>
  544. <varlistentry>
  545. <term><option>--git-pristine-tar</option>
  546. </term>
  547. <listitem>
  548. <para>
  549. Use pristine-tar when generating the upstream tarball if it doesn't
  550. exist.
  551. </para>
  552. </listitem>
  553. </varlistentry>
  554. <varlistentry>
  555. <term><option>--git-pristine-tar-commit</option>
  556. </term>
  557. <listitem>
  558. <para>
  559. Commit the pristine-tar delta to the pristine-tar branch if a new
  560. tarball was generated and the pristine-tar data isn't already there.
  561. </para>
  562. </listitem>
  563. </varlistentry>
  564. <varlistentry>
  565. <term><option>--git-mock</option>
  566. </term>
  567. <listitem>
  568. <para>
  569. Use &mock; to build the rpms by invoking &gbp-builder-mock;.
  570. </para>
  571. </listitem>
  572. </varlistentry>
  573. <varlistentry>
  574. <term><option>--git-dist</option>
  575. </term>
  576. <listitem>
  577. <para>
  578. Build for this distribution when using &mock; (e.g.: epel-6).
  579. </para>
  580. </listitem>
  581. </varlistentry>
  582. <varlistentry>
  583. <term><option>--git-arch</option>
  584. </term>
  585. <listitem>
  586. <para>
  587. Build for this architecture when using mock, default is to build
  588. for the current host architecture.
  589. </para>
  590. </listitem>
  591. </varlistentry>
  592. <varlistentry>
  593. <term><option>--git-mock-root</option>
  594. </term>
  595. <listitem>
  596. <para>
  597. The mock root to use. Defaults
  598. to <replaceable>DIST</replaceable>-<replaceable>ARCH</replaceable>
  599. from above.
  600. </para>
  601. </listitem>
  602. </varlistentry>
  603. <varlistentry>
  604. <term><option>--git-mock-options</option>
  605. </term>
  606. <listitem>
  607. <para>
  608. Additional options to pass to mock. Default is to pass no
  609. additional options.
  610. </para>
  611. </listitem>
  612. </varlistentry>
  613. </variablelist>
  614. </refsect1>
  615. <refsect1>
  616. <title>EXAMPLES</title>
  617. <para>
  618. Only build a source RPM with &rpmbuild;
  619. </para>
  620. <screen>
  621. &gbp-buildpackage-rpm; -bs
  622. </screen>
  623. <para>
  624. Build an RPM package with &rpmbuild; on a custom branch with the uncommitted
  625. changes included.
  626. </para>
  627. <screen>
  628. &gbp-buildpackage-rpm; --git-ignore-branch --git-export=WC
  629. </screen>
  630. </refsect1>
  631. <refsect1>
  632. &man.gbp.config-files;
  633. <para>
  634. All options in the config files are specified without the 'git-' prefix.
  635. </para>
  636. </refsect1>
  637. <refsect1>
  638. <title>SEE ALSO</title>
  639. <para>
  640. <xref linkend="man.gbp.import.srpm"/>,
  641. <xref linkend="man.gbp.pq.rpm"/>,
  642. <citerefentry>
  643. <refentrytitle>rpmbuild</refentrytitle>
  644. <manvolnum>8</manvolnum>
  645. </citerefentry>,
  646. <citerefentry>
  647. <refentrytitle>mock</refentrytitle>
  648. <manvolnum>1</manvolnum>
  649. </citerefentry>,
  650. <xref linkend="man.gbp.conf"/>,
  651. &man.seealso.common;
  652. </para>
  653. </refsect1>
  654. <refsect1>
  655. <title>AUTHOR</title>
  656. <para>
  657. &rpm-username; &rpm-email;
  658. </para>
  659. </refsect1>
  660. </refentry>