Eliminate use of obsolete %patchN syntax

Resolves: RHEL-80443
This commit is contained in:
Jacek Migacz 2025-02-24 12:57:23 +01:00
parent 8e595a514f
commit 9bb2418f3e

View File

@ -5,7 +5,7 @@ Summary: GNU Emacs text editor
Name: emacs
Epoch: 1
Version: 27.2
Release: 11%{?dist}
Release: 12%{?dist}
License: GPLv3+ and CC0-1.0
URL: http://www.gnu.org/software/emacs/
Source0: https://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.xz
@ -196,20 +196,20 @@ Development header files for Emacs.
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -q
%patch1 -p1 -b .spellchecker
%patch2 -p1 -b .system-crypto-policies
%patch3 -p1 -b .glibc2.34
%patch4 -p1 -b .ctags-local-command-execute-vulnerability
%patch5 -p1 -b .64KB-page-size-for-pdump
%patch6 -p1 -b .etags-local-command-injection-vulnerability
%patch7 -p1 -b .htmlfontify-command-injection-vulnerability
%patch8 -p1 -b .ruby-mode-local-command-injection-vulnerability
%patch9 -p1 -b .ob-latex-command-injection-vulnerability
%patch10 -p1 -b .consider-org-file-contents-unsafe
%patch11 -p1 -b .mark-contents-untrusted
%patch12 -p1 -b .latex-preview
%patch13 -p1 -b .org-link-expand-abbrev-unsafe-elisp
%patch14 -p1 -b .man-el-shell-injection-vulnerability
%patch -P 1 -p1 -b .spellchecker
%patch -P 2 -p1 -b .system-crypto-policies
%patch -P 3 -p1 -b .glibc2.34
%patch -P 4 -p1 -b .ctags-local-command-execute-vulnerability
%patch -P 5 -p1 -b .64KB-page-size-for-pdump
%patch -P 6 -p1 -b .etags-local-command-injection-vulnerability
%patch -P 7 -p1 -b .htmlfontify-command-injection-vulnerability
%patch -P 8 -p1 -b .ruby-mode-local-command-injection-vulnerability
%patch -P 9 -p1 -b .ob-latex-command-injection-vulnerability
%patch -P 10 -p1 -b .consider-org-file-contents-unsafe
%patch -P 11 -p1 -b .mark-contents-untrusted
%patch -P 12 -p1 -b .latex-preview
%patch -P 13 -p1 -b .org-link-expand-abbrev-unsafe-elisp
%patch -P 14 -p1 -b .man-el-shell-injection-vulnerability
autoconf
# We prefer our emacs.desktop file
@ -500,6 +500,9 @@ rm %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/emacs-document23.svg
%{_includedir}/emacs-module.h
%changelog
* Mon Feb 24 2025 Jacek Migacz <jmigacz@redhat.com> - 1:27.2-12
- Eliminate use of obsolete patch syntax (RHEL-80443)
* Wed Feb 19 2025 Jacek Migacz <jmigacz@redhat.com> - 1:27.2-11
- Fix man.el shell injection vulnerability (RHEL-79025)