Compare commits

..

No commits in common. "e7071b7f884ac3b17fafc8e4389732845815d03f" and "49e93ac4ac5ce766543242c69cd809006d09862e" have entirely different histories.

2 changed files with 12 additions and 21 deletions

29
star.spec Executable file → Normal file
View File

@ -8,11 +8,11 @@
Name: star
Version: 1.6
Release: 6
Release: 2
Summary: An archiver supports ACL
License: CDDL
URL: http://freecode.com/projects/%{name}
Source: https://fossies.org/linux/misc/%{name}-%{version}.tar.bz2
Source: http://downloads.sourceforge.net/s-tar/%{name}-%{version}.tar.bz2
Patch0: star-1.6-star-mk.patch
Patch1: star-1.5.2-bufferoverflow.patch
@ -25,13 +25,18 @@ Provides: scpio = %{version}-%{release} spax = %{version}-%{release} rmt = %{ver
Obsoletes: scpio spax rmt
Requires(post): %{ALTERNATIVES}
Requires(preun): %{ALTERNATIVES}
Provides: star-help = %{version}-%{release}
Obsoletes: star-help < %{version}-%{release}
%description
Star is an archiver with ACL support, it saves many files together into a single
tape or disk archive, and can restore individual files from the archive.
%package help
Summary: Help files for %{name}
BuildArch: noarch
%description help
Help files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
@ -47,7 +52,7 @@ star_recode()
star_recode AN-1.5 AN-1.5.2 star/star.4
for PLAT in %{arm} %{power64} aarch64 loongarch64 %{mips} x86_64 riscv64; do
for PLAT in %{arm} %{power64} aarch64 %{mips} x86_64 riscv64; do
for AFILE in gcc cc; do
[ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \
&& ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul
@ -122,6 +127,8 @@ fi
%{_sbindir}/rmt
%config %{_sysconfdir}/default/rmt
%{_sysconfdir}/rmt
%files help
%{_mandir}/man1/star*
%{_mandir}/man1/ustar.*
%{_mandir}/man5/star.*
@ -130,18 +137,6 @@ fi
%{_mandir}/man1/rmt.*
%changelog
* Mon Nov 21 2022 huajingyun <huajingyun@loongson.cn> - 1.6-6
- Adapt loongarch for fixing build error
* Thu Oct 27 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.6-5
- Rebuild for next release
* Fri Dec 25 2020 Liquor<lirui130@huawei.com> -1.6-4
- add package star-help to package star
* Thu Sep 10 2020 wangchen<wangchen137@huawei.com> -1.6-3
- modify the URL of Source
* Wed Aug 26 2020 whoisxxx<zhangxuzhou4@huawei.com> -1.6-2
- Adapt to RISC-V

View File

@ -1,4 +0,0 @@
version_control: NA
src_repo: NA
tag_prefix:
seperator: .