Add config for portable build
This commit is contained in:
parent
f7d6824a04
commit
d95ff0d895
33
config.yaml
33
config.yaml
@ -1,24 +1,13 @@
|
|||||||
|
parameters:
|
||||||
|
custom_branch: "a8-portable"
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
- replace:
|
- run_script:
|
||||||
- target: "spec"
|
- script: "replace_spec.sh"
|
||||||
find: |
|
cwd: "rpms"
|
||||||
%global portablesuffix el9
|
|
||||||
%endif
|
|
||||||
replace: |
|
|
||||||
%global portablesuffix el9
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?almalinux}
|
|
||||||
%global portablesuffix el8
|
|
||||||
%endif
|
|
||||||
count: 1
|
|
||||||
|
|
||||||
- modify_release:
|
- add_files:
|
||||||
- suffix: ".alma.1"
|
- type: "source"
|
||||||
enabled: true
|
name: "NEWS"
|
||||||
|
number: "Latest"
|
||||||
- changelog_entry:
|
modify_spec: false
|
||||||
- name: "Eduard Abdullin"
|
|
||||||
email: "eabdullin@almalinux.org"
|
|
||||||
line:
|
|
||||||
- "Change portablesiffix"
|
|
||||||
|
2557
files/NEWS
Normal file
2557
files/NEWS
Normal file
File diff suppressed because it is too large
Load Diff
4
scripts/replace_spec.sh
Normal file
4
scripts/replace_spec.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
pushd SPECS
|
||||||
|
rm java-17-openjdk.spec
|
||||||
|
ln -s ../SOURCES/java-17-openjdk-portable.specfile java-17-openjdk.spec
|
||||||
|
popd
|
Loading…
Reference in New Issue
Block a user