girar-nmu-prepare-backport(1)
| girar-nmu-prepare-backport(1) | girar-nmu utils | girar-nmu-prepare-backport(1) |
NAME
girar-nmu-prepare-backport - generate backport packages according to their upload method.
SYNOPSIS
girar-nmu-prepare-backport [-h]
TODO_insert_pods_here
srpmname ... | srpm ...
DESCRIPTION
girar-nmu-prepare generates backport packages according to their upload method. For each package girar-nmu-prepare generate either a git repository with the NMU commmit or the NMU src.rpm according to the package's upload method. Each result is stored either as OUT.gits/name.git or OUT.SRPMS/name/*src..rpm.
As an argument girar-nmu-prepare takes either a list of original src.rpms or the path to dir with src.rpms in --srpmdir option and a list of names.
OPTIONS
There are lots of srpm processing options that are inherited from RPM::Source::* utilities. To view full list of available options, run girar-nmu-prepare --help.
girar-nmu-prepare specific OPTIONS
- -Msuffix
- Backport suffix. Valid examples are: -M51 -M60P -M70C -M70T.
- -b|--branch repository branch
- Name of the repository branch. Values are: sisyphus|5.1|p5|t6|c7.. Default is to derive from backport suffix.
- --ch, --changelog changelog text
- Changelog text. Default is like '- rebuild (with the help of girar-nmu utility)'
- -d local branch name
- Git repository option. Name of the local git branch to build from. Default is nmu.
- [-e, --exact-version]
- Die if version-release of src.rpm and git repository spec file does not match (Default). Conversely, --no-e, --no-exact-version allows to skip git repository version check.
- -G dir
- name of output directory with Git repositories. Default is "OUT.gits".
- -S dir
- name of output directory for src.rpms. Default is "OUT.SRPMS".
- --hashertar
- Generate hasher-ready .tar file instead of src.rpm file. Some src.rpm require you to install extra rpm-build-* or rpm-macros-* packages or else rpmbuild -bs --nodeps will fail. On the other hand, generating hasher-ready .tar file does not require installing rpm-build-* or rpm-macros-* packages, but this tar file should be first processed in hasher. Use --hashertar option to avoid polluting your working environment with unnecessary rpm-build-* or rpm-macros-* packages.
- -H|--gitery [gitery ssh alias]
- By default, gitery.altlinux.org account should be configured as gitery in ~/.ssh/config. If you do not follow that convention, use -H <your gitery ssh alias> option.
- -h, --help
- Display this help and exit.
AUTHOR
Written by Igor Vlasenko <viy@altlinux.org>.
COPYING
Copyright (c) 2010-2021 Igor Vlasenko, ALT Linux Team.
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| 2023-11-08 | 2.015.3 |
