public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/less] f45: fix parsing gpg files "GPG symmetrically encrypted data" (rhbz#2562986)
@ 2026-11-02 10:58 Michal Hlavinka
0 siblings, 0 replies; only message in thread
From: Michal Hlavinka @ 2026-11-02 10:58 UTC (permalink / raw)
To: git-commits
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 ;;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 10:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 10:58 [rpms/less] f45: fix parsing gpg files "GPG symmetrically encrypted data" (rhbz#2562986) Michal Hlavinka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox