From cba09c7031a38d7726f3a007c2ff65a104c2acfd Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 20 Aug 2024 12:05:56 +0300 Subject: [PATCH] - Use x86_64 as target for x86_64_v2 arch --- star.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/star.spec b/star.spec index f81ec91..65471ed 100644 --- a/star.spec +++ b/star.spec @@ -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 - 1.6-15.alma.1 +- Use x86_64 as target for x86_64_v2 arch + * Mon Jun 24 2024 Troy Dawson - 1.6-15 - Bump release for June 2024 mass rebuild