Undefine pkgos

This commit is contained in:
eabdullin 2026-08-21 11:22:57 +03:00
parent bc1e02508e
commit 7151c7d5f4
2 changed files with 28 additions and 0 deletions

View File

@ -30,6 +30,19 @@ actions:
export ARCH_DATA_MODEL=64
%endif
count: 1
- target: "spec"
find: |
%if 0%{?centos} != 0 && 0%{?centos} != 0%{centos_buildos}
%global pkgos rhel%{?centos}
%endif
replace: |
%if 0%{?centos} != 0 && 0%{?centos} != 0%{centos_buildos}
%global pkgos rhel%{?centos}
%endif
%if 0%{?almalinux}
%undefine pkgos
%endif
count: 1
- changelog_entry:

View File

@ -7,6 +7,21 @@ actions:
- script: "replace_spec.sh"
cwd: "rpms"
- replace:
- target: "spec"
find: |
%if 0%{?centos} != 0 && 0%{?centos} != 0%{centos_buildos}
%global pkgos rhel%{?centos}
%endif
replace: |
%if 0%{?centos} != 0 && 0%{?centos} != 0%{centos_buildos}
%global pkgos rhel%{?centos}
%endif
%if 0%{?almalinux}
%undefine pkgos
%endif
count: 1
- changelog_entry:
- name: "eabdullin"
email: "eabdullin@almalinux.org"