Add config for portable
This commit is contained in:
parent
ed57855d1d
commit
629af510ef
14
config-portable.yaml
Normal file
14
config-portable.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
parameters:
|
||||||
|
custom_target_branch: "a8-portable"
|
||||||
|
pre_clean: true
|
||||||
|
|
||||||
|
actions:
|
||||||
|
- run_script:
|
||||||
|
- script: "replace_spec.sh"
|
||||||
|
cwd: "rpms"
|
||||||
|
|
||||||
|
- changelog_entry:
|
||||||
|
- name: "eabdullin"
|
||||||
|
email: "eabdullin@almalinux.org"
|
||||||
|
line:
|
||||||
|
- "Portable build"
|
21
config.yaml
21
config.yaml
@ -1,21 +0,0 @@
|
|||||||
actions:
|
|
||||||
- replace:
|
|
||||||
- target: "spec"
|
|
||||||
find: "%global portablebuilddir /builddir/build/BUILD"
|
|
||||||
replace: |
|
|
||||||
%global portablebuilddir /builddir/build/BUILD
|
|
||||||
|
|
||||||
%if 0%{?almalinux}
|
|
||||||
%global portablesuffix el8
|
|
||||||
%endif
|
|
||||||
count: 1
|
|
||||||
|
|
||||||
- modify_release:
|
|
||||||
- suffix: ".alma.1"
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
- changelog_entry:
|
|
||||||
- name: "Eduard Abdullin"
|
|
||||||
email: "eabdullin@almalinux.org"
|
|
||||||
line:
|
|
||||||
- "Use el8 portable packages"
|
|
4
scripts/replace_spec.sh
Normal file
4
scripts/replace_spec.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
pushd SPECS
|
||||||
|
rm java-21-openjdk.spec
|
||||||
|
ln -s ../SOURCES/java-21-openjdk-portable.specfile java-21-openjdk.spec
|
||||||
|
popd
|
Loading…
Reference in New Issue
Block a user