This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Robert Kaussow 47945766b1
Some checks reported errors
continuous-integration/drone/push Build was killed
debug
2020-06-11 16:00:17 +02:00
overlay/bin add rsync to copy local patchfiles 2020-06-11 15:48:06 +02:00
.drone.yml fix drone trigger 2020-06-11 14:56:29 +02:00
.prettierignore add prettierignore file and exclude drone config 2020-06-11 14:57:41 +02:00
Dockerfile debug 2020-06-11 16:00:17 +02:00
LICENSE update readme and license 2020-02-22 18:08:14 +01:00
README.md document new rpmbuild wrapper 2020-06-11 15:41:32 +02:00

rpmbuild

Build Status Docker Hub License: MIT

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.

Maintainers and Contributors

Robert Kaussow