Compare commits
No commits in common. "a9" and "a8" have entirely different histories.
32
config-portable.yaml
Normal file
32
config-portable.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
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
24
config.yaml
@ -1,24 +0,0 @@
|
|||||||
actions:
|
|
||||||
- replace:
|
|
||||||
- target: "spec"
|
|
||||||
find: |
|
|
||||||
%global portablerhel 9
|
|
||||||
%endif
|
|
||||||
replace: |
|
|
||||||
%global portablerhel 8
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?almalinux}
|
|
||||||
%global portablerhel 8
|
|
||||||
%endif
|
|
||||||
count: 1
|
|
||||||
|
|
||||||
- modify_release:
|
|
||||||
- suffix: ".alma.1"
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
- changelog_entry:
|
|
||||||
- name: "Eduard Abdullin"
|
|
||||||
email: "eabdullin@almalinux.org"
|
|
||||||
line:
|
|
||||||
- "Change portablerhel"
|
|
||||||
4
scripts/replace_spec.sh
Normal file
4
scripts/replace_spec.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
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