Use el8 pkgs in AlmaLinux 9
This commit is contained in:
parent
e78af61d86
commit
9409dfd232
@ -1,32 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
- replace:
|
|
||||||
- target: "java-1.8.0-openjdk-portable.specfile"
|
|
||||||
find: |
|
|
||||||
mv %{jdkimage} ${jdkname}
|
|
||||||
mv %{jreimage} ${jrename}
|
|
||||||
replace: |
|
|
||||||
cp -r %{jdkimage} ${jdkname}
|
|
||||||
cp -r %{jreimage} ${jrename}
|
|
||||||
count: 1
|
|
||||||
- target: "java-1.8.0-openjdk-portable.specfile"
|
|
||||||
find: |
|
|
||||||
mv ${jdkname} %{jdkimage}
|
|
||||||
mv ${jrename} %{jreimage}
|
|
||||||
replace: |
|
|
||||||
rm -rf ${jdkname} %{jdkimage}
|
|
||||||
rm -rf ${jrename} %{jreimage}
|
|
||||||
count: 1
|
|
||||||
24
config.yaml
Normal file
24
config.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
actions:
|
||||||
|
- replace:
|
||||||
|
- target: "spec"
|
||||||
|
find: |
|
||||||
|
%global portablesuffix el9
|
||||||
|
%endif
|
||||||
|
replace: |
|
||||||
|
%global portablesuffix el9
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%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:
|
||||||
|
- "Change portablesiffix"
|
||||||
@ -1,4 +0,0 @@
|
|||||||
pushd SPECS
|
|
||||||
rm java-1.8.0-openjdk.spec
|
|
||||||
ln -s ../SOURCES/java-1.8.0-openjdk-portable.specfile java-1.8.0-openjdk.spec
|
|
||||||
popd
|
|
||||||
Loading…
Reference in New Issue
Block a user