2019-09-30 11:11:23 -04:00
|
|
|
Name: patch
|
|
|
|
|
Version: 2.7.6
|
2022-12-28 18:58:01 +08:00
|
|
|
Release: 16
|
2019-09-30 11:11:23 -04:00
|
|
|
Summary: Utiliity which applies a patch file to original files.
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: http://www.gnu.org/software/patch/patch.html
|
|
|
|
|
Source0: https://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz
|
|
|
|
|
Patch0: patch-CVE-2018-1000156.patch
|
2020-02-03 16:29:15 +08:00
|
|
|
Patch1: CVE-2018-6951.patch
|
|
|
|
|
Patch2: Fix-check-of-return-value-of-fwrite.patch
|
|
|
|
|
Patch3: Don-t-leak-temporary-file-on-failed-ed-style-patch.patch
|
|
|
|
|
Patch4: Don-t-leak-temporary-file-on-failed-multi-file-ed-st.patch
|
|
|
|
|
Patch5: Fix-swapping-fake-lines-in-pch_swap.patch
|
|
|
|
|
Patch6: CVE-2018-20969-and-CVE-2019-13638.patch
|
|
|
|
|
Patch7: CVE-2019-13636.patch
|
2020-03-18 15:44:07 +08:00
|
|
|
Patch8: patch-selinux.patch
|
2022-12-28 18:15:32 +08:00
|
|
|
Patch9: Avoid-set_file_attributes-sign-conversion-warnings.patch
|
2022-12-28 18:40:51 +08:00
|
|
|
Patch10: Test-suite-compatibility-fixes.patch
|
2022-12-28 18:58:01 +08:00
|
|
|
Patch11: Test-suite-fix-Korn-shell-incompatibility.patch
|
2019-09-30 11:11:23 -04:00
|
|
|
|
|
|
|
|
BuildRequires: gcc libselinux-devel libattr-devel ed
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-root
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Patch takes a patch file containing a difference listing produced by the
|
|
|
|
|
diff program and applies those differences to one or more original files,
|
|
|
|
|
producing patched versions.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: help document
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%description help
|
|
|
|
|
This package provides help document for patch.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
|
|
|
|
%configure --disable-silent-rules
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%check
|
2022-10-19 18:02:27 +08:00
|
|
|
%make_build check
|
2019-09-30 11:11:23 -04:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:45:18 +08:00
|
|
|
%doc README ChangeLog
|
2019-09-30 11:11:23 -04:00
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/patch
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:45:18 +08:00
|
|
|
%doc NEWS
|
2019-09-30 11:11:23 -04:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-12-28 18:58:01 +08:00
|
|
|
* Wed Dec 28 2022 Xibo.Wang <wangxb12@chinatelecom.cn> - 2.7.6-16
|
|
|
|
|
- Test suite: fix Korn shell incompatibility
|
|
|
|
|
|
2022-12-28 18:40:51 +08:00
|
|
|
* Wed Dec 28 2022 Xibo.Wang <wangxb12@chinatelecom.cn> - 2.7.6-15
|
|
|
|
|
- Test suite compatibility fixes
|
|
|
|
|
|
2022-12-28 18:15:32 +08:00
|
|
|
* Wed Dec 28 2022 Xibo.Wang <wangxb12@chinatelecom.cn> - 2.7.6-14
|
|
|
|
|
- Avoid set_file_attributes sign conversion warnings
|
|
|
|
|
|
2022-10-19 18:02:27 +08:00
|
|
|
* Wed Oct 19 2022 fuanan <fuanan3@h-partners.com> - 2.7.6-13
|
|
|
|
|
- optimize check by running make in parallel
|
|
|
|
|
|
2020-03-18 15:44:07 +08:00
|
|
|
* Wed Mar 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.6-12
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix memory leak
|
|
|
|
|
|
2020-02-03 16:29:15 +08:00
|
|
|
* Mon Feb 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.6-11
|
|
|
|
|
- Type:CVE
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix CVE-2019-13636
|
|
|
|
|
|
2020-01-09 23:07:33 +08:00
|
|
|
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.6-10
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete redundant file
|
|
|
|
|
|
2019-12-25 16:00:49 +08:00
|
|
|
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.7.6-9
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify email adress
|
|
|
|
|
|
|
|
|
|
* Mon Dec 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.7.6-8
|
|
|
|
|
- Type:CVE
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2018-20969 CVE-2019-13638
|
|
|
|
|
|
2019-11-06 19:45:18 +08:00
|
|
|
* Mon Oct 21 2019 shenyangyang <shenyangyang4@huawei.com> - 2.7.6-7
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:move README and ChangeLog to main package
|
|
|
|
|
|
2019-12-30 12:59:33 +08:00
|
|
|
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.7.6-6
|
2019-09-30 11:11:23 -04:00
|
|
|
- Package Init
|