10 Star 0 Fork 16

src-openEuler/tar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tar.spec 3.40 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2025-03-18 22:23 +08:00 . cleanup spec
Name: tar
Version: 1.35
Release: 3
Epoch: 2
Summary: An organized and systematic method of controlling a large amount of data
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/tar/
Source0: https://ftp.gnu.org/gnu/tar/tar-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/tar/tar-%{version}.tar.xz.sig
BuildRequires: autoconf automake texinfo gettext libacl-devel attr acl policycoreutils
BuildRequires: gcc
Provides: bundled(gnulib) /bin/tar /bin/gtar
Patch6000: backport-CVE-2022-48303.patch
Patch0001: tar-1.28-loneZeroWarning.patch
Patch0002: tar-1.28-vfatTruncate.patch
Patch0003: tar-1.29-wildcards.patch
Patch0004: tar-1.28-atime-rofs.patch
Patch0005: tar-1.28-document-exclude-mistakes.patch
Patch0006: tar-1.33-fix-capabilities-test.patch
Patch0007: tar-1.35-add-forgotten-tests-from-upstream.patch
Patch0008: tar-1.35-revert-fix-savannah-bug-633567.patch
Patch3000: tar-Add-sw64-architecture.patch
%description
GNU Tar provides the ability to create tar archives, as well as various other
kinds of manipulation. For example, you can use Tar on previously created archives
to extract files, to store additional files, or to update or list files which were
already stored.
%package help
Summary: help document for tar
Requires: %{name} = %{epoch}:%{version}-%{release}
BuildArch: noarch
%description help
Help document for tar.
%prep
%autosetup -n tar-%{version} -p1
autoreconf -v
%build
export FORCE_UNSAFE_CONFIGURE=1
%configure --without-selinux --with-lzma="xz --format=lzma" \
DEFAULT_RMT_DIR=%{_sysconfdir} RSH=/usr/bin/ssh
%make_build
%install
%make_install
ln -s tar %{buildroot}%{_bindir}/gtar
ln -s tar.1 %{buildroot}%{_mandir}/man1/gtar.1
rm -f %{buildroot}%{_infodir}/dir
rm -f %{buildroot}%{_sysconfdir}/rmt
rm -f %{buildroot}%{_mandir}/man8/rmt.8*
%find_lang tar
%check
%make_build check
%files -f tar.lang
%license COPYING
%doc AUTHORS README THANKS NEWS ChangeLog
%{_bindir}/*tar
%files help
%{_mandir}/man1/*tar.1*
%{_infodir}/tar.info*
%changelog
* Tue Mar 18 2025 Funda Wang <fundawang@yeah.net> - 2:1.35-3
- cleanup spec
* Thu Aug 24 2023 dillon chen <dillon.chen@gmail.com> - 2:1.35-2
- get patches, test and verify
* Wed Jul 19 2023 dillon chen <dillon.chen@gmail.com> - 2:1.35-1
- update to 1.35-1
* Wed Feb 08 2023 wangjiang <wangjiang37@h-partners.com> 2:1.34-4
- fix CVE-2022-48303
* Fri Nov 11 2022 wuzx<wuzx1226@qq.com> - 2:1.34-3
- Add sw64 architecture
* Thu Oct 27 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2:1.34-2
- Rebuild for next release
* Sat Nov 13 2021 shixuantong <shixuantong> - 2:1.34-1
- update version to 1.34
* Thu Jun 10 2021 shixuantong <shixuantong> - 2:1.32-3
- add gcc to BuildRequires
* Wed Apr 14 2021 shixuantong <shixuantong> - 2:1.32-2
- fix CVE-2021-20193
* Mon Jul 27 2020 shixuantong <shixuantong> - 2:1.32-1
- update to 1.32-1
* Tue Feb 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:1.30-11
- Enable check
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:1.30-10
- set FORCE_UNSAFE_CONFIGURE to 1
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:1.30-9
- cancel make check
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:1.30-8
- Fix CVE-2018-20482
* Tue Sep 10 2019 Huiming Xie <xiehuiming@huawei.com> - 2:1.30-7
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/tar.git
git@gitee.com:src-openeuler/tar.git
src-openeuler
tar
tar
master

搜索帮助