Add config for portable build

This commit is contained in:
eabdullin 2025-07-23 12:42:43 +03:00
parent f7d6824a04
commit d95ff0d895
3 changed files with 2572 additions and 22 deletions

View File

@ -1,24 +1,13 @@
parameters:
custom_branch: "a8-portable"
actions:
- replace:
- target: "spec"
find: |
%global portablesuffix el9
%endif
replace: |
%global portablesuffix el9
%endif
%if 0%{?almalinux}
%global portablesuffix el8
%endif
count: 1
- run_script:
- script: "replace_spec.sh"
cwd: "rpms"
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Change portablesiffix"
- add_files:
- type: "source"
name: "NEWS"
number: "Latest"
modify_spec: false

2557
files/NEWS Normal file

File diff suppressed because it is too large Load Diff

4
scripts/replace_spec.sh Normal file
View 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