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