Add support for riscv64.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
Signed-off-by: Zhengyu He <hezhy472013@gmail.com>
This commit is contained in:
Zhengyu He 2024-03-28 09:49:33 +08:00
parent a569bd6b44
commit ac2c11000a

View File

@ -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: 13%{?dist} Release: 14%{?dist}
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
@ -91,7 +91,7 @@ star_recode()
star_recode AN-1.5 AN-1.5.2 star/star.4 star_recode AN-1.5 AN-1.5.2 star/star.4
for PLAT in %{arm} %{power64} aarch64 i686 %{mips} x86_64 s390 s390x sh3 sh4 sh4a sparcv9; do for PLAT in %{arm} %{power64} aarch64 i686 %{mips} x86_64 s390 s390x sh3 sh4 sh4a sparcv9 riscv64; do
for AFILE in gcc cc; do for AFILE in gcc cc; do
[ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \ [ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \
&& ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul && ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul
@ -202,6 +202,9 @@ fi
%{_sysconfdir}/rmt %{_sysconfdir}/rmt
%changelog %changelog
* Thu Mar 28 2024 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1.6-14
- Enable riscv64
* Mon Jan 29 2024 Florian Weimer <fweimer@redhat.com> - 1.6-13 * Mon Jan 29 2024 Florian Weimer <fweimer@redhat.com> - 1.6-13
- Link in build configuration for i686 to use Fedora build flags - Link in build configuration for i686 to use Fedora build flags