mc-4.8.24-2.fc32
- be sure to use /var/tmp instead of /tmp (#1795006) Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
3763fbba48
commit
3154ecd288
@ -1,3 +1,13 @@
|
||||
diff -up mc-4.8.24/contrib/mc-wrapper.sh.in.tmpdir mc-4.8.24/contrib/mc-wrapper.sh.in
|
||||
--- mc-4.8.24/contrib/mc-wrapper.sh.in.tmpdir 2020-01-27 09:17:46.815515791 +0100
|
||||
+++ mc-4.8.24/contrib/mc-wrapper.sh.in 2020-01-27 09:18:01.430712110 +0100
|
||||
@@ -1,5 +1,5 @@
|
||||
MC_USER=`whoami`
|
||||
-MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
|
||||
+MC_PWD_FILE="${TMPDIR-/var/tmp}/mc-$MC_USER/mc.pwd.$$"
|
||||
@bindir@/mc -P "$MC_PWD_FILE" "$@"
|
||||
|
||||
if test -r "$MC_PWD_FILE"; then
|
||||
--- mc-4.8.21/lib/global.h~
|
||||
+++ mc-4.8.21/lib/global.h
|
||||
@@ -131,7 +131,7 @@
|
||||
@ -20,12 +30,3 @@
|
||||
endif
|
||||
|
||||
@bindir@/mc -P "$MC_PWD_FILE" $*
|
||||
--- mc-4.8.22/contrib/mc-wrapper.sh.in~
|
||||
+++ mc-4.8.22/contrib/mc-wrapper.sh.in
|
||||
@@ -1,5 +1,5 @@
|
||||
MC_USER=`id | sed 's/[^(]*(//;s/).*//'`
|
||||
-MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
|
||||
+MC_PWD_FILE="${TMPDIR-/var/tmp}/mc-$MC_USER/mc.pwd.$$"
|
||||
@bindir@/mc -P "$MC_PWD_FILE" "$@"
|
||||
|
||||
if test -r "$MC_PWD_FILE"; then
|
||||
|
6
mc.spec
6
mc.spec
@ -4,7 +4,7 @@ Summary: User-friendly text console file manager and visual shell
|
||||
Name: mc
|
||||
Epoch: 1
|
||||
Version: 4.8.24
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv3+
|
||||
URL: http://www.midnight-commander.org/
|
||||
Source0: http://www.midnight-commander.org/downloads/mc-%{version}.tar.xz
|
||||
@ -12,6 +12,7 @@ Patch1: %{name}-spec.syntax.patch
|
||||
Patch2: %{name}-rpm.patch
|
||||
Patch3: %{name}-python3.patch
|
||||
Patch4: %{name}-default_setup.patch
|
||||
Patch5: %{name}-tmpdir.patch
|
||||
BuildRequires: e2fsprogs-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glib2-devel
|
||||
@ -91,6 +92,9 @@ Midnight Commander s3+ and UC1541 EXTFS backend scripts.
|
||||
%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
||||
|
||||
%changelog
|
||||
* Mon Jan 27 2020 Jindrich Novy <jnovy@redhat.com> - 1:4.8.24-2
|
||||
- be sure to use /var/tmp instead of /tmp (#1795006)
|
||||
|
||||
* Mon Jan 20 2020 Jindrich Novy <jnovy@redhat.com> - 1:4.8.24-1
|
||||
- update to 4.8.24
|
||||
- drop merged tmpdir patch
|
||||
|
Loading…
Reference in New Issue
Block a user