star/config.yaml
2025-02-03 14:22:42 +01:00

32 lines
1.4 KiB
YAML

actions:
- replace:
- target: "spec"
find: "# Note: disable optimalisation by COPTX='-g3 -O0' LDOPTX='-g3 -O0'"
replace: |
%ifarch x86_64_v2
%global make_flags GMAKE_NOWARN=true \\\
RUNPATH= \\\
LDPATH= \\\
PARCH=x86_64 \\\
K_ARCH=x86_64 \\\
INS_BASE=$RPM_BUILD_ROOT%{_prefix} \\\
INS_RBASE=$RPM_BUILD_ROOT \\\
INSTALL='sh $(SRCROOT)/conf/install-sh -c -m $(INSMODEINS)' \\\
COPTX="%build_cflags -DTRY_EXT2_FS" \\\
LDOPTX="$RPM_LD_FLAGS" \\\
DEFCCOM=gcc
%endif
# Note: disable optimalisation by COPTX='-g3 -O0' LDOPTX='-g3 -O0'
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Use x86_64 as target for x86_64_v2 arch"