A set of helper utilities for RPM package building on ALT Linux and other RPM-based distributions.
Документация на русском / Russian documentation
apt-get install etersoft-build-utilsSet target distribution in ~/.config/eterbuild:
MENV=p11 # for ALT Linux p11
MENV=p10 # for ALT Linux p10
MENV=SS # for Sisyphus| Command | Description |
|---|---|
rpmbb [spec] |
Build binary package |
rpmbs [spec] |
Create source RPM |
rpmbsh [spec] |
Build package in hasher (isolated environment) |
rpmbph -b <branch> [spec] |
Backport package to another branch |
| Command | Description |
|---|---|
rpmgs [spec] |
Download sources from spec file |
rpmgp -g <name> |
Clone git repository with package |
rpmgp -c <name> |
Check if package is published |
| Command | Description |
|---|---|
gita / gitask |
GIRAR task management wrapper |
gita ls |
List your tasks |
gita new [branch] |
Create new task |
gita add <cmd> <pkg> |
Add subtask |
gita run [task] |
Run task |
gita log [task] |
Show build log |
gita wait [task] |
Wait for task to complete |
gita acl <pkg> [add|del <user>] |
Show/modify package ACL |
| Command | Description |
|---|---|
rpmcs [spec] |
Cleanup spec (foreign spec adoption) |
rpmlog [spec] |
Update changelog from git log |
rpmurl [spec] |
Open URL from spec in browser |
rpmbugs [spec] |
Open bug list for package |
| Command | Description |
|---|---|
loginhsh |
Log in to hasher shell |
myhsh |
Manage hasher environment |
runinhsh |
Run command inside hasher |
| Command | Description |
|---|---|
jmake |
Make with parallel build and ccache |
dmake |
Distributed make |
-s— sign package-u/-U— upload to Incoming/Backports-i— install after build-r— update build requirements-h— show help
Rules for cross-distribution package name mapping (used by rpmbph):
alt-package-name|foreign-package-name
Rule files in share/eterbuild/pkgrepl/:
pkgrepl.rpm— base rulespkgrepl.<distro>— distribution-specific rulespkgrepl.<distro>.<version>— version-specific rules
~/.rpmmacros— RPM macros configuration~/.gnupg/— GPG keys for signing~/.ssh/— SSH keys for git.alt accessgit.altalias in~/.ssh/config
Vitaly Lipatov lav@etersoft.ru
Apache 2.0