Robert Kaussow
47945766b1
Some checks reported errors
continuous-integration/drone/push Build was killed
|
||
---|---|---|
overlay/bin | ||
.drone.yml | ||
.prettierignore | ||
Dockerfile | ||
LICENSE | ||
README.md |
rpmbuild
Simple Docker image based on CentOS 7 to build RPM packages.
How to use
There are two wrapper scripts around the rpmbuild command you could use:
/bin/rpmbuild-official
: This will simply forward your command to the official binary at/usr/bin/rpmbuild
/bin/rpmbuil
: This is a modified wrapper to prepare the environment before calling rpmbuil
The wrapper /bin/rpmbuil
will do the following:
- create
$(pwd)/dist
- create rpmbuild folder structure (
BUILDRPMS|SOURCES|SPECS|SRPMS
) under$(pwd)/dist
- sync local patchfiles from
$(pwd)/patch
to$(pwd)/dist/SOURCES
- call
/bin/rpmbuil
with the given parameters
License
This project is licensed under the MIT License - see the LICENSE file for details.