https://github.com/junland/el-libvirt-minimal
Minimal libvirt package for Enterprise Linux
https://github.com/junland/el-libvirt-minimal
Last synced: 5 months ago
JSON representation
Minimal libvirt package for Enterprise Linux
- Host: GitHub
- URL: https://github.com/junland/el-libvirt-minimal
- Owner: junland
- License: mit
- Created: 2025-09-26T15:02:42.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-08T15:31:18.000Z (8 months ago)
- Last Synced: 2025-10-08T17:47:13.632Z (8 months ago)
- Language: Shell
- Size: 1.52 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# el-libvirt-minimal
Minimal libvirt package for Enterprise Linux
## Building RPMs
This repository uses a consolidated build process with a single entrypoint script (`build-rpm.sh`) that handles all aspects of RPM building:
- Downloads source files using spectool
- Builds source RPMs (SRPM)
- Builds binary RPMs
### Using Docker
```bash
# Build the Docker image
docker build --build-arg EL_VERSION=9 -t rpm-builder .
# Run the build
docker run --rm -t --name rpm-builder-$(date +%s) rpm-builder libvirt.spec
```
### Direct execution
The `build-rpm.sh` script can also be executed directly in an environment with:
- RPM build tools (rpm-build, rpmdevtools)
- Required build dependencies installed
- Running as a non-root user with proper directory permissions