gear-uupdate(1)

gear-uupdate-prepare(1) gear-uupdate-prepare gear-uupdate-prepare(1)

NAME

gear-uupdate - debian uupdate for gear repositories.

SYNOPSIS

gear-uupdate,gear-uupdate-prepare [-h,--help] [-v,--verbose] [-q,--quiet] [--exclude pattern] [--ignore-exclude | --no-ignore-exclude] [--ch,--changelog message] [--force-unpack] [--destdir dir] [--source sourcenum] [--prefix script prefix] [--hook path/to/hook] [--unpack] [--merge] [--update-spec] [--override-spec new spec file] [--upstream-version new version] [--commit git commit] [--tag git tag] [tarball [ new version ]]

DESCRIPTION

gear-uupdate-prepare,gear-uupdate Update gear repository together with rpm-uscan. gear-uupdate is a wrapper for gear-uupdate-prepare and gear-uupdate-execute.

This command is issued indirectly by rpm-uscan or gear-cronbuild. It can be also used manually to update gear repository from tarball.

OPTIONS

--upstream-version new version
New upstream version.
--unpack,--merge,--update-spec
Write scripts for specified stages only (unpack upstream tarball, merge branches, update spec).
[--prefix script prefix]
Use specified prefix for the scripts. Default is '__~.uupdate-step-'.
[--source sourcenum]
Sourcenum is the rpm number of the source file watched, Default is 0.
[--destdir dir]
Alternative directory to store generated scripts.
[--force-unpack]
Force update repository ignoring precence of external commits.
[--ch,--changelog message]
RPM spec file changelog message. Default is '- new version <version>'
--hook /path/to/hook
Path to a perl-RPM-Source-Editor hook program to perform on the input packages. This option can be repeated to load any number of hooks.
[--override-spec new spec file]
By default, spec will be updated using call to srpmnmu: srpmnmu -i --version <new version> --changelog "- new version <new version>" \
[ --hook <hook> ... ] You can override this call with your own pre-edited spec file.

For example: specfile=`gear-rules-print-specfile` cp $specfile /safe/place edit /safe/place/$specfile gear-uupdate [ ... ] --override-spec /safe/place/$specfile

--exclude pattern, --ignore-exclude, --no-ignore-exclude.
Option --exclude pattern is passed to gear-update as is. By default, gear-update is called with --ignore-exclude. --no-ignore-exclude disables this behavior, --ignore-exclude enables it again.
-h, --help
Display this help and exit.

ENVIRONMENT VARIABLES

GEAR_UUPDATE_CHANGELOG - default changelog

AUTHOR

Written by Igor Vlasenko <viy@altlinux.org>.

COPYING

Copyright (c) 2011-2023 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.

2025-04-05 0.29.4