diff --git a/config-portable.yaml b/config-portable.yaml new file mode 100644 index 0000000..4532c7c --- /dev/null +++ b/config-portable.yaml @@ -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" diff --git a/config.yaml b/config.yaml deleted file mode 100644 index 7bd8e73..0000000 --- a/config.yaml +++ /dev/null @@ -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" diff --git a/scripts/replace_spec.sh b/scripts/replace_spec.sh new file mode 100644 index 0000000..7bb673b --- /dev/null +++ b/scripts/replace_spec.sh @@ -0,0 +1,4 @@ +pushd SPECS +rm java-21-openjdk.spec +ln -s ../SOURCES/java-21-openjdk-portable.specfile java-21-openjdk.spec +popd