Use x86_64 as target for x86_64_v2 arch

This commit is contained in:
Eduard Abdullin 2025-05-15 15:51:29 +00:00 committed by root
parent a654c20862
commit 51a6553835

View File

@ -3,7 +3,7 @@
Summary: An archiving tool with ACL support
Name: star
Version: 1.6
Release: 18%{?dist}
Release: 18%{?dist}.alma.1
License: CDDL-1.0 AND GPL-2.0-only
URL: http://freecode.com/projects/star
Source: https://downloads.sourceforge.net/s-tar/%{name}-%{version}.tar.bz2
@ -117,6 +117,20 @@ done
LDOPTX="$RPM_LD_FLAGS" \\\
DEFCCOM=gcc
%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'
make %make_flags
@ -202,6 +216,9 @@ fi
%{_sysconfdir}/rmt
%changelog
* Thu May 15 2025 Eduard Abdullin <eabdullin@almalinux.org> - 2:1.6-18.alma.1
- Use x86_64 as target for x86_64_v2 arch
* Thu Mar 27 2025 Michal Srb <michal@redhat.com> - 1.6-18
- Rebuild for Konflux (Resolves: RHEL-84822)