public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Hlavinka <mhlavink@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/less] f45: fix parsing gpg files "GPG symmetrically encrypted data" (rhbz#2562986)
Date: Mon, 02 Nov 2026 10:58:27 GMT	[thread overview]
Message-ID: <179361710768.1.7323776421431841540.rpms-less-6fa888a616eb@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/less
Branch : f45
Commit : 6fa888a616eb8cf8d8a5d4c9a78ba17d30b49201
Author : Michal Hlavinka <mhlavink@redhat.com>
Date   : 2026-11-02T11:49:10+01:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/less/c/6fa888a616eb8cf8d8a5d4c9a78ba17d30b49201?branch=f45

Log:
fix parsing gpg files "GPG symmetrically encrypted data" (rhbz#2562986)

---
diff --git a/less.spec b/less.spec
index 92bf886..8e74fa8 100644
--- a/less.spec
+++ b/less.spec
@@ -1,7 +1,7 @@
 Summary: A text file browser similar to more, but better
 Name: less
 Version: 710
-Release: 1%{?dist}
+Release: 2%{?dist}
 # less dual license GPL-3.0-only OR BSD-2-Clause
 # lesspipe GPL-2.0-or-later
 License: (GPL-3.0-only OR BSD-2-Clause) AND GPL-2.0-or-later
@@ -17,6 +17,7 @@ Patch8: less-458-lessecho-usage.patch
 Patch9: less-458-less-filters-man.patch
 Patch11: less-458-old-bot-in-help.patch
 Patch13: less-436-help.patch
+Patch14: lesspipe-gpg-fix.patch
 URL: https://www.greenwoodsoftware.com/less/
 BuildRequires: ncurses-devel
 BuildRequires: autoconf automake libtool
@@ -63,6 +64,7 @@ mv lesspipe-%{lesspipe_version} lesspipe-src
 %patch -P 9 -p1 -b .less-filters-man
 %patch -P 11 -p1 -b .old-bot
 %patch -P 13 -p1 -b .help
+%patch -P 14 -p1 -b .gpg-fix
 
 # get consistent result localy and on builders
 sed -i -e 's|"#!/usr/bin/env $selected_shell"|"#!$shellcmd"|' -e '/ZSH_/d' lesspipe-src/configure
@@ -112,6 +114,9 @@ popd
 %{_bindir}/archive_color
 
 %changelog
+* Mon Nov 02 2026 Michal Hlavinka <mhlavink@redhat.com> - 710-2
+- fix parsing gpg files "GPG symmetrically encrypted data" (rhbz#2562986)
+
 * Wed Sep 23 2026 Michal Hlavinka <mhlavink@redhat.com> - 710-1
 - updated to 710 (#2536583)
 

diff --git a/lesspipe-gpg-fix.patch b/lesspipe-gpg-fix.patch
new file mode 100644
index 0000000..ce4b5d0
--- /dev/null
+++ b/lesspipe-gpg-fix.patch
@@ -0,0 +1,12 @@
+diff -up less-710/lesspipe-src/lesspipe.sh.gpg-fix less-710/lesspipe-src/lesspipe.sh
+--- less-710/lesspipe-src/lesspipe.sh.gpg-fix	2026-09-08 15:50:51.000000000 +0200
++++ less-710/lesspipe-src/lesspipe.sh	2026-11-02 11:43:09.961467808 +0100
+@@ -120,7 +120,7 @@ filetype () {
+ 				ftype=docx ;;
+ 			Apple\ binary\ property\ list)
+ 				ftype=plist ;;
+-			PGP\ *ncrypted*|GPG\ encrypted*)
++			PGP\ *ncrypted*|GPG\ *ncrypted*)
+ 				ftype=pgp ;;
+ 			Audio\ file\ with\ ID3\ *)
+ 				ftype=mp3 ;;

                 reply	other threads:[~2026-11-02 10:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179361710768.1.7323776421431841540.rpms-less-6fa888a616eb@fedoraproject.org \
    --to=mhlavink@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox