- Use x86_64 as target for x86_64_v2 arch
This commit is contained in:
parent
094c368e7d
commit
cba09c7031
19
star.spec
19
star.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: An archiving tool with ACL support
|
Summary: An archiving tool with ACL support
|
||||||
Name: star
|
Name: star
|
||||||
Version: 1.6
|
Version: 1.6
|
||||||
Release: 15%{?dist}
|
Release: 15%{?dist}.alma.1
|
||||||
License: CDDL-1.0 AND GPL-2.0-only
|
License: CDDL-1.0 AND GPL-2.0-only
|
||||||
URL: http://freecode.com/projects/star
|
URL: http://freecode.com/projects/star
|
||||||
Source: https://downloads.sourceforge.net/s-tar/%{name}-%{version}.tar.bz2
|
Source: https://downloads.sourceforge.net/s-tar/%{name}-%{version}.tar.bz2
|
||||||
@ -117,6 +117,20 @@ done
|
|||||||
LDOPTX="$RPM_LD_FLAGS" \\\
|
LDOPTX="$RPM_LD_FLAGS" \\\
|
||||||
DEFCCOM=gcc
|
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'
|
# Note: disable optimalisation by COPTX='-g3 -O0' LDOPTX='-g3 -O0'
|
||||||
make %make_flags
|
make %make_flags
|
||||||
|
|
||||||
@ -202,6 +216,9 @@ fi
|
|||||||
%{_sysconfdir}/rmt
|
%{_sysconfdir}/rmt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.6-15
|
||||||
- Bump release for June 2024 mass rebuild
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user