- Use x86_64 as target for x86_64_v2 arch

This commit is contained in:
eabdullin 2024-08-20 12:05:56 +03:00
parent 094c368e7d
commit cba09c7031

View File

@ -3,7 +3,7 @@
Summary: An archiving tool with ACL support
Name: star
Version: 1.6
Release: 15%{?dist}
Release: 15%{?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
* Tue Aug 20 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.6-15.alma.1
- Use x86_64 as target for x86_64_v2 arch
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.6-15
- Bump release for June 2024 mass rebuild