commit 90928183912dea0fbf3101d76dc7cd3aff20ac58 Author: Sofia Boldyreva Date: Mon Feb 3 14:22:42 2025 +0100 Initial commit diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..a8c9698 --- /dev/null +++ b/config.yaml @@ -0,0 +1,31 @@ +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"