|
@@ -1,14 +1,13 @@
|
|
|
Summary: Utility for modifying/upgrading files
|
|
|
Summary(ja): ファイルを修正/更新するためのユーティリティ
|
|
|
Name: patch
|
|
|
-Version: 2.6.1
|
|
|
-Release: 4%{?_dist_release}
|
|
|
+Version: 2.7.6
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: GPLv2+
|
|
|
URL: http://www.gnu.org/software/patch/patch.html
|
|
|
Group: Development/Tools
|
|
|
-Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.bz2
|
|
|
-Patch1: patch-2.5.4-sigsegv.patch
|
|
|
-Patch2: patch-CVE-2010-4651.patch
|
|
|
+Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz
|
|
|
+Patch1000: CVE-2018-6952.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: ed
|
|
@@ -40,8 +39,7 @@ patch は,アプリケーションをアップグレードする際に良く
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch1 -p1 -b .sigsegv
|
|
|
-%patch2 -p1 -b .CVE-2010-4651
|
|
|
+%patch1000 -p1 -b .CVE-2018-6952
|
|
|
|
|
|
%build
|
|
|
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
|
@@ -71,6 +69,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Mar 13 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7.6-1
|
|
|
+- new upstream release.
|
|
|
+- dropped all patches.
|
|
|
+- added Patch1000 to fix CVE-2018-6952.
|
|
|
+
|
|
|
* Sun Feb 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-4
|
|
|
- rebuild with VineSeed environment
|
|
|
|