- update to new mc CVS snapshot

- drop .case, .rpmobsolete patches - applied upstream
- allow exit command even on non-local filesystems (#202440)
- use %%{?dist}
This commit is contained in:
Jindrich Novy 2006-08-15 11:00:45 +00:00
parent e1d5e4bdf3
commit 5f69cd486d
4 changed files with 26 additions and 7 deletions

View File

@ -1,2 +1,3 @@
mc-4.6.1a.tar.bz2
mc-2006-06-30-18.tar.gz
mc-2006-08-12-18.tar.gz

14
mc-exit.patch Normal file
View File

@ -0,0 +1,14 @@
--- mc-2006-08-12-18/src/command.c.exit 2005-06-07 16:16:19.000000000 +0200
+++ mc-2006-08-12-18/src/command.c 2006-08-15 12:48:12.000000000 +0200
@@ -214,6 +214,11 @@
size_t i, j, cmd_len;
if (!vfs_current_is_local ()) {
+ if (strcmp (cmd, "exit") == 0) {
+ quiet_quit_cmd ();
+ return MSG_HANDLED;
+ }
+
message (1, MSG_ERROR,
_
(" Cannot execute commands on non-local filesystems"));

16
mc.spec
View File

@ -1,9 +1,9 @@
%define date 2006-06-30-18
%define date 2006-08-12-18
Summary: User-friendly text console file manager and visual shell
Name: mc
Version: 4.6.1a
Release: 22
Release: 23%{?dist}
Epoch: 1
License: GPL
Group: System Environment/Shells
@ -24,8 +24,7 @@ Patch8: mc-showfree.patch
Patch9: mc-cedit.patch
Patch10: mc-delcheck.patch
Patch11: mc-etcmc.patch
Patch12: mc-rpmobsolete.patch
Patch13: mc-case.patch
Patch12: mc-exit.patch
%description
Midnight Commander is a visual shell much like a file manager, only
@ -48,8 +47,7 @@ specific files.
%patch9 -p1 -b .cedit
%patch10 -p1 -b .delcheck
%patch11 -p1 -b .etcmc
%patch12 -p1 -b .rpmobsolete
%patch13 -p1 -b .case
%patch12 -p1 -b .exit
# convert files in /lib to UTF-8
pushd lib
@ -194,6 +192,12 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_sysconfdir}/mc
%changelog
* Tue Aug 15 2006 Jindrich Novy <jnovy@redhat.com> 4.6.1a-23.fc6
- update to new mc CVS snapshot
- drop .case, .rpmobsolete patches - applied upstream
- allow exit command even on non-local filesystems (#202440)
- use %%{?dist}
* Mon Jul 17 2006 Jindrich Novy <jnovy@redhat.com> 4.6.1a-22
- use less ugly UTF-8 special characters for scrollbars
- properly highlight RPM tags that differ in case while

View File

@ -1 +1 @@
02fba8b9697173a047fdc74dddcbaf97 mc-2006-06-30-18.tar.gz
b6cf6a011da6481e50e25cea4c85143d mc-2006-08-12-18.tar.gz