Add maven,ant,xmvn configs
This commit is contained in:
parent
c68bf3dae2
commit
8ebe036bc5
19
README.md
19
README.md
@ -17,7 +17,8 @@ This repository contains a single file `build_configs.json` that defines per-pac
|
||||
"module_enable": ["module:stream"],
|
||||
"yum_exclude": ["package-name"],
|
||||
"with": ["option"],
|
||||
"without": ["option"]
|
||||
"without": ["option"],
|
||||
"target_arch": "noarch"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -53,6 +54,7 @@ These are applied per-package within a single ALBS build. Different mock_options
|
||||
| `mock_options.yum_exclude` | `list[str]` | `[]` | Packages to exclude from the mock chroot |
|
||||
| `mock_options.with` | `list[str]` | `[]` | `--with` conditional build options |
|
||||
| `mock_options.without` | `list[str]` | `[]` | `--without` conditional build options |
|
||||
| `mock_options.target_arch` | `str` | `""` | Override the RPM build target arch for this package (mock `--target=<arch>`). Useful for packages whose SRPM must always produce a fixed arch — e.g. `"noarch"` for Java packages like `maven`. Empty string = no override. Applied per-task; does not split the build. |
|
||||
|
||||
## Branch Patterns
|
||||
|
||||
@ -153,6 +155,21 @@ sssd on EL8 branches requires the `idm:DL1` module stream enabled in the build c
|
||||
|
||||
nvidia-open-kmod gets both SecureBoot signing and a custom signing identity macro.
|
||||
|
||||
### Per-package build target (mock `--target`)
|
||||
|
||||
```json
|
||||
{
|
||||
"maven": {
|
||||
"*": {
|
||||
"mock_options": {
|
||||
"target_arch": "noarch"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### Portable builds (disable %check)
|
||||
|
||||
```json
|
||||
|
||||
@ -713,6 +713,28 @@
|
||||
}
|
||||
},
|
||||
|
||||
"maven": {
|
||||
"*10*": {
|
||||
"mock_options": {
|
||||
"target_arch": "noarch"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ant": {
|
||||
"*10*": {
|
||||
"mock_options": {
|
||||
"target_arch": "noarch"
|
||||
}
|
||||
}
|
||||
},
|
||||
"xmvn": {
|
||||
"*10*": {
|
||||
"mock_options": {
|
||||
"target_arch": "noarch"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"R-*": {
|
||||
"*epel*": {
|
||||
"platform_flavors": ["add-epel-macros"]
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"without": [],
|
||||
"yum_exclude": ["pkg_for_exclude", "pkg_for_exclude"],
|
||||
"module_enable": ["module_name:module_stream", "module_name"],
|
||||
"target_arch": ""
|
||||
"target_arch": "noarch"
|
||||
},
|
||||
"secure_boot": true // false by default
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user