From 906aa9c68060f3bb0de1908947852212deb462c5 Mon Sep 17 00:00:00 2001 From: chenyanpanHW Date: Fri, 30 Jul 2021 23:41:14 +0800 Subject: [PATCH] delete -S git from %autosetup, and delete BuildRequires git --- xterm.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xterm.spec b/xterm.spec index 7c638b7..a057b73 100644 --- a/xterm.spec +++ b/xterm.spec @@ -1,6 +1,6 @@ Name: xterm Version: 363 -Release: 2 +Release: 3 Summary: It is a terminal emulator for the X Window System License: MIT URL: http://invisible-island.net/xterm @@ -8,7 +8,7 @@ Source0: https://invisible-mirror.net/archives/xterm/xterm-%{version}.tgz Patch6000: backport-CVE-2021-27135.patch -BuildRequires: gcc git pkgconfig ncurses-devel libutempter-devel +BuildRequires: gcc pkgconfig ncurses-devel libutempter-devel BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils BuildRequires: libxkbfile-devel xorg-x11-apps @@ -28,7 +28,7 @@ Summary: Doc files for xterm The xterm-help package contains doc files for xterm. %prep -%autosetup -n xterm-363 -p1 -S git +%autosetup -n xterm-363 -p1 iconv -f iso8859-1 -t utf-8 < THANKS > TEMP touch -r THANKS TEMP; mv TEMP THANKS @@ -64,6 +64,9 @@ install -m 644 -p xterm.appdata.xml %{buildroot}/%{_datadir}/appdata %{_mandir}/man1/* %changelog +* Fri Jul 30 2021 chenyanpanHW - 363-3 +- DESC: delete -S git from %autosetup, and delete BuildRequires git + * Wed Mar 03 2021 jinzhimin - 363-2 - fix CVE-2021-27135