<arg><option>--git-dist=</option><replaceable>DIST</replaceable></arg>
<arg><option>--git-arch=</option><replaceable>ARCH</replaceable></arg>
<arg><option>--git-[no-]pbuilder-autoconf</option></arg>
- <arg><option>--git-pbuilder-options</option>=<replaceable>PBUILDER_OPTIONS</replaceable></arg>
+ <arg><option>--git-pbuilder-options</option></arg>
<arg><option>--git-[no-]sign-tags</option></arg>
<arg><option>--git-keyid=</option><replaceable>GPG-KEYID</replaceable></arg>
<arg><option>--git-posttag=</option><replaceable>COMMAND</replaceable></arg>
<arg><option>--git-prebuild=</option><replaceable>COMMAND</replaceable></arg>
<arg><option>--git-[no-]build</option></arg>
<arg><option>--git-[no-]hooks</option></arg>
- <arg><option>--git-debian-tag=</option><replaceable>tag-format</replaceable></arg>
- <arg><option>--git-upstream-tag=</option><replaceable>tag-format</replaceable></arg>
- <arg><option>--git-debian-tag-msg=</option><replaceable>tag-msg-format</replaceable></arg>
+ <arg><option>--git-debian-tag=</option><replaceable>TAG-FORMAT</replaceable></arg>
+ <arg><option>--git-upstream-tag=</option><replaceable>TAG-FORMAT</replaceable></arg>
<arg><option>--git-force-create</option></arg>
<arg><option>--git-no-create-orig</option></arg>
<arg><option>--git-upstream-tree=</option><replaceable>[TAG|BRANCH|TREEISH]</replaceable></arg>
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--git-upstream-branch</option>=<replaceable>BRANCH_NAME</replaceable>
- <term><option>--git-color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></term>
- <listitem>
- <para>
- Colors to use in output (when color is enabled). The format for
- COLOR_SCHEME is
- '<debug>:<info>:<warning>:<error>'.
- Numerical values and color names are accepted, empty fields imply
- the default color. For example --git-color-scheme='cyan:34::' would
- show debug messages in cyan, info messages in blue and other messages
- in default (i.e. warning and error messages in red).
- </para>
- </listitem>
- </varlistentry>
<varlistentry>
<term><option>--git-upstream-branch</option>=<replaceable>BRANCH_NAME</replaceable>
</term>
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--git-keyid=</option><replaceable>GPG-KEYID</replaceable>
- </term>
- <listitem>
- <para>
- use this keyid for gpg signing tags
- <term><option>--git-posttag=</option><replaceable>COMMAND</replaceable>
- </term>
- <listitem>
- <para>
- excecute <replaceable>COMMAND</replaceable> after tagging a new
- version.
- </para>
- <para>
- Exported environment variables are: <envar>GBP_TAG</envar> (the name
- of the generated tag), <envar>GBP_BRANCH</envar> (the branch the
- package was build from) and <envar>GBP_SHA1</envar> (the sha1 of the
- commit the tag was created at).
- </para>
- </listitem>
- </varlistentry>
<varlistentry>
<term><option>--git-posttag=</option><replaceable>COMMAND</replaceable>
</term>
<varlistentry>
<term><option>--git-postexport=</option><replaceable>COMMAND</replaceable>
</term>
- <listitem>
- <para>
- <term><option>--git-postexport=</option><replaceable>COMMAND</replaceable>
- </term>
<listitem>
<para>
execute <replaceable>COMMAND</replaceable> after exporting the source
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--git-debian-tag-msg=</option><replaceable>tag-msg-format</replaceable>
- </term>
- <listitem>
- <para>use this tag message format when signing Debian versions,
- default is <replaceable>%(pkg)s Debian release %(version)s</replaceable></para>
- </listitem>
- </varlistentry>
<varlistentry>
<term><option>--git-force-create</option>
</term>
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--customizations=</option><replaceable>customization-file</replaceable>
- </term>
- <listitem>
- <para>
- Load Python code from <replaceable>customization-file</replaceable>.
- At the moment, the only useful thing the code can do is define a
- custom format_changelog_entry() function.
- </para>
- </listitem>
- </varlistentry>
</variablelist>
</refsect1>
<refsect1>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--[no-]merge</option></term>
+ <term><option>--merge</option></term>
<listitem>
<para>
Merge the upstream branch to the debian branch after import
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--[no-]interactive</option></term>
- <listitem>
- <para>
- Run command interactively, i.e. ask package name and version if
- needed.
- </para>
- </listitem>
- </varlistentry>
</variablelist>
</refsect1>
<refsect1>
<arg><option>--[no-]patch-numbers</option></arg>
<arg><option>--topic=</option><replaceable>topic</replaceable></arg>
<arg><option>--time-machine=</option><replaceable>num</replaceable></arg>
- <arg><option>--[no-]drop</option></arg>
<arg><option>--force</option></arg>
<group choice="plain">
<arg><option>drop</option></arg>
&man.common.options.description;
<varlistentry>
- <term><option>--color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></term>
<term><option>--[no-]patch-numbers</option>
</term>
<listitem>
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--[no-]drop</option></term>
- <listitem>
- <para>Whether to drop (delete) the patch queue branch after
- a succesful export</para>
- </listitem>
- </varlistentry>
<varlistentry>
<term><option>--force</option></term>
<listitem>
remote repository.</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--all</option></term>
- <listitem>
- <para>Update all remote-tracking branches that have identical name in the
- remote repository.</para>
- </listitem>
- </varlistentry>
<varlistentry>
<term><option>--redo-pq</option></term>
<listitem>
&gbp;
<group choice='req'>
<arg><option>--help</option></arg>
- <arg><option>--version</option></arg>
- <arg><option>--list-cmds</option></arg>
<arg><option>command</option><arg choice='opt' rep='repeat'><option>args</option></arg></arg>
</group>
</cmdsynopsis>
<para>Print help</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--version</option>
- </term>
- <listitem>
- <para>Print the programs version</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>--list-cmds</option>
- </term>
- <listitem>
- <para>List all available commands</para>
- </listitem>
- </varlistentry>
</variablelist>
</refsect1>
<refsect1>
Source0: %{name}_%{version}.tar.gz
# Conditional package names for requirements
-%if 0%{?fedora} || 0%{?centos_ver} > 7
-%define dpkg_pkg_name dpkg-dev
-%else
-%if 0%{?centos_version}
+%if 0%{?fedora} || 0%{?centos_ver}
%define dpkg_pkg_name dpkg-devel
%else
%define dpkg_pkg_name dpkg
%endif
-%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1230
%define devscripts_pkg_name devscripts-fixes
%define man_pkg_name man
%endif
-%if 0%{?fedora} || 0%{?centos_version} || 0%{?centos_ver} || 0%{?tizen_version:1}
+%if 0%{?fedora} || 0%{?centos_ver} || 0%{?tizen_version:1}
%define python_pkg_name python
%else
%define python_pkg_name python-base
EOF
%endif
-# Disable the debian tools for old CentOS
-%if 0%{?centos_version} && 0%{?centos_ver} < 7
+# Disable the debian tools for CentOS
+%if 0%{?centos_version}
for f in `cat files.list`; do
rm -rfv %{buildroot}/$f
done
%dir %{python_sitelib}/gbp/pkg
%dir %{python_sitelib}/gbp/scripts
%dir %{python_sitelib}/gbp/scripts/common
-#%{python_sitelib}/gbp-*
%{python_sitelib}/gbp/*.py*
%{python_sitelib}/gbp/scripts/__init__.py*
%{python_sitelib}/gbp/scripts/clone.py*