gzip/gzip.spec

157 lines
3.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:52:35 -04:00
Name: gzip
2022-06-11 14:30:52 +08:00
Version: 1.12
Release: 2
2019-09-30 10:52:35 -04:00
Summary: A data compression utility
License: GPLv3
2019-09-30 10:52:35 -04:00
URL: https://www.gnu.org/software/gzip
Source0: https://ftp.gnu.org/gnu/gzip/gzip-%{version}.tar.xz
Patch6000: backport-gzip-detect-invalid-input.patch
Patch6001: backport-gzip-test-invalid-input-bug.patch
2019-09-30 10:52:35 -04:00
Patch9000: fix-verbose-disable.patch
Patch9001: performance-neoncrc32-and-prfm.patch
2019-09-30 10:52:35 -04:00
BuildRequires: gcc texinfo less autoconf automake
2019-09-30 10:52:35 -04:00
Requires: coreutils
Conflicts: filesystem < 3
Provides: /bin/gunzip
Provides: /bin/gzip
Provides: /bin/zcat
Provides: bundled(gnulib)
%description
gzip is a single-file/stream lossless data compression
utility, where the resulting compressed file generally
has the suffix .gz.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
2019-12-13 15:27:32 +08:00
%ifarch aarch64
export CFLAGS="${CFLAGS:-%optflags} -march=armv8-a+crc"
%endif
autoreconf
2019-09-30 10:52:35 -04:00
%configure
%make_build
%install
rm -rf %RPM_BUILD_ROOT
%make_install
# ncompress provides uncompress, may cause conflict.
rm -f %{buildroot}%{_bindir}/uncompress
%check
make check
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README
%license COPYING
%{_bindir}/*
%exclude %{_infodir}/dir
%files help
%doc NEWS TODO THANKS
%{_infodir}/*info*
%{_mandir}/man1/*
%changelog
* Thu Jul 28 2022 Lv Ying <lvying6@huawei.com> - 1.12-2
- backport bugfix patch: detect invalid input
2022-06-11 14:30:52 +08:00
* Sat Jun 11 2022 YukariChiba <i@0x7f.cc> - 1.12-1
- Upgrade version.
2022-05-24 13:28:05 +08:00
* Tue May 24 2022 loong_C <loong_c@yeah.net> - 1.11-4
- fix changelog date
2022-04-20 11:33:04 +08:00
* Wed Apr 20 2022 shixuantong <shixuantong@h-partners.com> - 1.11-3
- fix CVE-2022-1271
* Fri Apr 01 2022 tianwei<tianwei12@h-partners.com> - 1.11-2
- backport bugfix patches from upstream and fix build failure in OBS
2021-12-28 11:50:48 +08:00
* Tue Dec 28 2021 shangyibin<shangyibin1@huawei.com> - 1.11-1
- upgrade to version 1.11
2022-05-24 13:28:05 +08:00
* Tue Nov 09 2021 tianwei<tianwei12@huawei.com> - 1.10-2
2021-11-09 15:13:33 +08:00
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix testsuite fail
2020-06-15 10:30:45 +08:00
* Fri Apr 24 2020 BruceGW <gyl93216@163.com> - 1.10-1
2022-04-20 11:33:04 +08:00
- update upstream to 1.10
2020-06-15 10:30:45 +08:00
2020-01-17 14:45:38 +08:00
* Fri Jan 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.9-18
- Type:performance improve
- ID:NA
- SUG:NA
- DESC:delete useless scripts for grep
2019-12-13 15:27:32 +08:00
* Mon Nov 11 2019 liqiang<liqiang64@huawei.com> - 1.9-17
- Type:performance improve
- ID:NA
- SUG:NA
- DESC:use neon crc32 api and PRFM instruction to improve performance.
2019-09-30 10:52:35 -04:00
* Mon Sep 30 2019 shenyangyang<shenyangyang4@huawei.com> - 1.9-16
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:fix the conflict of infodir/dir with libtasn1
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 1.9-15
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise help package
* Fri Aug 16 2019 openEuler Builteam <buildteam@openeuler.org> - 1.9-14
- Rewrite spec file
* Fri Aug 09 2019 fangyufa<fangyufa1@huawei.com> - 1.9-13
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: modify info of patch
* Thu Aug 08 2019 fangyufa<fangyufa1@huawei.com> - 1.9-12
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: modify of patch
* Wed Jul 31 2019 zhuguodong<zhuguodong7@huawei.com> - 1.9-11
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: openEuler Debranding
* Fri Jun 14 2019 cangyi<cangyi@huawei.com> - 1.9-10
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix gzexe unable to (auto)decompress
* Fri Mar 15 2019 zhangyujing <zhangyujing1@huawei.com> - 1.9-9
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:gzip fix use of uninitialized memory
* Fri Jan 25 2019 Yeqing Peng<pengyeqing@huawei.com> - 1.9-8
- Type:enhancement
- ID:NA
- SUG:restart
- DESC:fix verbose disable
* Thu Jul 26 2018 zhuguodong<zhuguodong7@huawei.com> - 1.9-7
- package init