109 lines
2.6 KiB
RPMSpec
109 lines
2.6 KiB
RPMSpec
Name: cpio
|
|
Version: 2.13
|
|
Release: 1
|
|
Summary: A GNU archiving program
|
|
|
|
License: GPLv3+
|
|
URL: https://www.gnu.org/software/cpio
|
|
Source0: https://ftp.gnu.org/gnu/cpio/%{name}-%{version}.tar.bz2
|
|
|
|
Patch0: cpio-2.9-rh.patch
|
|
Patch1: cpio-2.13-exitCode.patch
|
|
Patch2: cpio-2.13-dev_number.patch
|
|
Patch3: cpio-2.9.90-defaultremoteshell.patch
|
|
Patch4: cpio-2.10-patternnamesigsegv.patch
|
|
Patch5: cpio-2.10-longnames-split.patch
|
|
Patch6: cpio-2.11-crc-fips-nit.patch
|
|
Patch7: add-option-to-add-metadata-in-copy-out-mode.patch
|
|
Patch8: Fix-use-after-free-and-return-appropriate-error.patch
|
|
|
|
Provides: bundled(gnulib)
|
|
Provides: /bin/cpio
|
|
BuildRequires: gcc texinfo gettext gettext-devel rmt
|
|
|
|
%description
|
|
GNU cpio copies files into or out of a cpio or tar archive.
|
|
The archive can be another file on the disk, a magnetic
|
|
tape, or a pipe.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
rm -rf %{buildroot}/usr/share/man/man8*
|
|
rm -rf %{buildroot}/usr/libexec/
|
|
rm -rf %{buildroot}/usr/share/info/dir
|
|
|
|
%check
|
|
make check
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS ChangeLog README
|
|
%license COPYING
|
|
%{_bindir}/%{name}*
|
|
%{_datadir}/info/*.info*
|
|
%{_datadir}/locale/*/LC_MESSAGES/cpio.mo
|
|
|
|
%files help
|
|
%doc NEWS TODO THANKS
|
|
%{_datadir}/man/man1/%{name}.1.gz
|
|
|
|
%changelog
|
|
* Thu Jul 30 2020 Liquor <lirui130@huawei.com> - 2.13-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:update to 2.13
|
|
|
|
* Thu Jul 2 2020 Roberto Sassu<roberto.sassu@huawei.com> - 2.12-16
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:fix use after free and return appropriate errors
|
|
|
|
* Thu Jul 2 2020 Anakin Zhang<benjamin93@163.com> - 2.12-15
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:add option to add file metadata in copy-out mode
|
|
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.12-14
|
|
- Fix CVE-2019-14866
|
|
|
|
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 2.12-13
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:add help package
|
|
|
|
* Tue Aug 27 2019 openEuler Builteam <buildteam@openeuler.org> - 2.12-12
|
|
- Type:NA
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: Rewrite Spec File
|
|
|
|
* Thu Mar 21 2019 Zhipeng Xie <xiezhipeng1@huawei.com> - 2.12-11
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:modify patch name
|
|
|
|
* Fri Mar 15 2019 zhangyujing <zhangyujing1@huawei.com> - 2.12-10
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:Fix out of bounds read
|
|
Fix signed integer overflow big block sizes
|
|
|
|
* Thu Jul 12 2018 openEuler Builteam <buildteam@openeuler.org> - 2.12-9
|
|
- Package Initialization
|
|
|