Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
7af9d44e3a
!42 [sync] PR-40: Add sw_64 support
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2025-03-06 06:01:26 +00:00
zhangshaoning
57a33ab3ce Add sw_64 support
(cherry picked from commit a2f35aa821319e0419b31bb8a6f63b9e58f7c4b6)
2025-03-06 13:21:08 +08:00
openeuler-ci-bot
8c05a3d8a5
!36 [sync] PR-33: Check whether the lcap compilation option needs to be added.
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-10-09 09:46:45 +00:00
zhoupengcheng
670bf0003c Check whether the lcap compilation option needs to be added.
(cherry picked from commit 56a0e0b0e263eb18a4da7c690432068080aa3bd0)
2024-10-09 15:48:43 +08:00
openeuler-ci-bot
5a0dc0fce0
!29 [sync] PR-28: Support build with clang
From: @openeuler-sync-bot 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2024-03-22 01:29:06 +00:00
luofeng14
98ced0c412 support clang build
(cherry picked from commit 284a1b9f70769cd7ea9f74f95418cc04daafc7ea)
2024-03-22 09:15:05 +08:00
openeuler-ci-bot
892bf59da6
!22 add loongarch64 support
From: @huajingyun 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-11-22 01:09:47 +00:00
Jingyun Hua
8d17a2eb49 Adapt loongarch for fixing build error
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
2022-11-21 13:03:12 +00:00
openeuler-ci-bot
9bb32c81ca
!18 [合规提升]spec文件的License声明有歧义
From: @YixiongChen 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-06-29 07:43:19 +00:00
chenyx2012
ce57f3468e
License compliance rectification 2022-06-28 07:04:14 +00:00
2 changed files with 46 additions and 6 deletions

View File

@ -0,0 +1,12 @@
diff -Naur a/RULES/MKLINKS b/RULES/MKLINKS
--- a/RULES/MKLINKS 2018-11-15 07:19:51.000000000 +0800
+++ b/RULES/MKLINKS 2024-12-12 15:55:05.771844486 +0800
@@ -464,6 +464,8 @@
$symlink bepc-haiku-cc.rul x86_64-haiku-cc.rul
$symlink bepc-haiku-gcc.rul x86_64-haiku-gcc.rul
$symlink alpha-openvms-cc.rul alphaserver_ds20_500_mhz-openvms-cc.rul
+$symlink x86_64-linux-cc.rul sw_64-linux-cc.rul
+$symlink x86_64-linux-gcc.rul sw_64-linux-gcc.rul
$symlink rs6000-aix-cc.rul rs6000-aix-cc32.rul
$symlink rs6000-aix-cc.rul rs6000-aix-cc64.rul
$symlink rs6000-aix-gcc.rul rs6000-aix-gcc32.rul

View File

@ -8,9 +8,9 @@
Name: star
Version: 1.6
Release: 5
Release: 10
Summary: An archiver supports ACL
License: CDDL
License: CDDL-1.0
URL: http://freecode.com/projects/%{name}
Source: https://fossies.org/linux/misc/%{name}-%{version}.tar.bz2
@ -19,6 +19,7 @@ Patch1: star-1.5.2-bufferoverflow.patch
Patch2: star-1.6-manpagereferences.patch
Patch3: star-1.5.2-use-ssh-by-default.patch
Patch4: bugfix-star-rmt-add-authority.patch
Patch5: 0100-star-uos-add-sw64-support.patch
BuildRequires: libattr-devel libacl-devel libtool libselinux-devel e2fsprogs-devel
Provides: scpio = %{version}-%{release} spax = %{version}-%{release} rmt = %{version}-%{release}
@ -47,14 +48,23 @@ star_recode()
star_recode AN-1.5 AN-1.5.2 star/star.4
for PLAT in %{arm} %{power64} aarch64 %{mips} x86_64 riscv64; do
for PLAT in %{arm} %{power64} aarch64 %{mips} x86_64 loongarch64 riscv64; do
%if "%toolchain" == "clang"
for AFILE in clang; do
%else
for AFILE in gcc cc; do
%endif
[ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \
&& ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul
done
done
%build
LCAP_FLAG=""
if pkg-config --exists 'libcap'; then
LCAP_FLAG="-lcap"
fi
%global make_flags GMAKE_NOWARN=true \\\
RUNPATH= \\\
LDPATH= \\\
@ -64,8 +74,8 @@ done
INS_RBASE=%{buildroot} \\\
INSTALL='sh $(SRCROOT)/conf/install-sh -c -m $(INSMODEINS)' \\\
COPTX="$RPM_OPT_FLAGS -DTRY_EXT2_FS" \\\
LDOPTX="$RPM_LD_FLAGS" \\\
DEFCCOM=gcc
LDOPTX="$RPM_LD_FLAGS $LCAP_FLAG" \\\
DEFCCOM=%{__cc}
%make_build %make_flags
@ -130,6 +140,24 @@ fi
%{_mandir}/man1/rmt.*
%changelog
* Mon Mar 03 2025 zhangshaoning <zhangshaoning@uniontech.com> - 1.6-10
- Add sw_64 support
* Wed Oct 9 zhoupengcheng <zhoupengcheng11@huawei.com> - 1.6-9
- DESC:Check whether the lcap compilation option needs to be added.
* Thu Feb 22 2024 luofeng <luofeng13@huawei.com> - 1.6-8
- Type:enhencement
- CVE:NA
- SUG:NA
- DESC:support clang build
* Mon Nov 21 2022 huajingyun <huajingyun@loongson.cn> - 1.6-7
- Adapt loongarch for fixing build error
* Tue Jun 28 2022 Chenyx <chenyixiong3@huawei.com> - 1.6-6
- License compliance rectification
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.6-5
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git