From 73a88e37ea27bd01e3971a4c69c2c8fb0a68df75 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Thu, 15 Oct 2020 13:04:03 +0200 Subject: [PATCH] fix nano-default-editor.fish - don't give EDITOR an universal scope --- nano-default-editor.fish | 2 +- nano.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nano-default-editor.fish b/nano-default-editor.fish index df4e614..dad0407 100644 --- a/nano-default-editor.fish +++ b/nano-default-editor.fish @@ -4,5 +4,5 @@ # Cf. https://fishshell.com/docs/current/index.html#variables-scope if ! set -q EDITOR; - set -Ux EDITOR /usr/bin/nano + set -x EDITOR /usr/bin/nano end diff --git a/nano.spec b/nano.spec index 8e65abc..724763b 100644 --- a/nano.spec +++ b/nano.spec @@ -1,7 +1,7 @@ Summary: A small text editor Name: nano Version: 5.3 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ URL: https://www.nano-editor.org Source: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz @@ -95,6 +95,9 @@ install -Dpm 0644 %{SOURCE13} %{buildroot}%{_datadir}/fish/vendor_conf.d/%{basen %changelog +* Thu Oct 15 2020 Zdenek Dohnal - 5.3-4 +- fix nano-default-editor.fish - don't give EDITOR an universal scope + * Mon Oct 12 2020 Neal Gompa - 5.3-3 - Ensure default-editor subpackage is easily swappable