47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
actions:
|
|
- replace:
|
|
- target: "spec"
|
|
find: |
|
|
%if ( %{defined rhel} && (! %{defined centos}) )
|
|
%package rule-playbooks
|
|
replace: |
|
|
%if %{defined rhel}
|
|
%package rule-playbooks
|
|
count: 1
|
|
- target: "spec"
|
|
find: |
|
|
%if 0%{?centos}
|
|
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_RHEL%{centos}:BOOLEAN=TRUE -DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=ON
|
|
%endif
|
|
replace: |
|
|
%if 0%{?centos}
|
|
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_RHEL%{centos}:BOOLEAN=TRUE -DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=ON
|
|
%endif
|
|
%if 0%{?almalinux}
|
|
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_ALMALINUX%{almalinux}:BOOLEAN=TRUE -DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_ANSIBLE_PLAYBOOKS_PER_RULE_ENABLED:BOOL=ON
|
|
%endif
|
|
count: 1
|
|
- target: "spec"
|
|
find: |
|
|
%if ( %{defined rhel} && (! %{defined centos}) )
|
|
%files rule-playbooks
|
|
replace: |
|
|
%if %{defined rhel}
|
|
%files rule-playbooks
|
|
count: 1
|
|
|
|
- modify_release:
|
|
- suffix: ".alma.1"
|
|
enabled: true
|
|
|
|
- changelog_entry:
|
|
- name: "Andrew Lukoshko"
|
|
email: "alukoshko@almalinux.org"
|
|
line:
|
|
- "Add AlmaLinux 9 support"
|
|
|
|
- add_files:
|
|
- type: "patch"
|
|
name: "scap-security-guide-0.1.75-add-almalinux9-product.patch"
|
|
number: 1000
|