Accepting request 247770 from home:dnh:branches:Base:System

update to 4.8.13

OBS-URL: https://build.opensuse.org/request/show/247770
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=91
This commit is contained in:
OBS User mrdocs 2014-09-05 23:05:53 +00:00 committed by Git OBS Bridge
parent a9bda74bf9
commit 3d0335a94e
7 changed files with 35 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f2fd570a798dc0cc06374adffef8ca403588c4e73dfdf908e9a4311718153fe
size 2237892

3
mc-4.8.13.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36d6191a47ec5d89d3788e48846fb620c481816441ff25264add8898d277b657
size 2231448

View File

@ -1,7 +1,7 @@
--- lib/util.c.orig 2013-07-09 14:43:17.000000000 +0400
+++ lib/util.c 2013-07-11 18:48:01.258511499 +0400
@@ -745,6 +745,8 @@
while (*(++r) != '\0' && strchr ("0123456789;?", *r) != NULL)
--- lib/util.c.orig 2014-09-05 20:50:09.000000000 +0200
+++ lib/util.c 2014-09-05 20:51:02.000000000 +0200
@@ -748,6 +748,8 @@ strip_ctrl_codes (char *s)
while (*(++r) != '\0' && strchr ("0123456789;:?", *r) != NULL)
;
}
+ else if (*r == '(')

View File

@ -1,2 +1,3 @@
addFilter("mc\..* W: script-without-shebang /usr/lib/mc/fish/.+")
addFilter("mc\..* W: script-without-shebang /usr/share/mc/mc.*\.c?sh")
addFilter("mc\..* W: files-duplicate /etc/mc/mc.keymap")

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Sep 5 18:37:47 UTC 2014 - dnh@opensuse.org
- update to 4.8.13
various bugfixes and minor improvements, see NEWS file for details
- comment out mc-Syntax.cmake.patch, fixed upstream, to be removed
-------------------------------------------------------------------
Wed Apr 2 19:35:48 UTC 2014 - dnh@opensuse.org

View File

@ -1,6 +1,7 @@
[Desktop Entry]
Type=Application
Name=Midnight Commander
GenericName=File Manager
Exec=mc
Terminal=true
Icon=mc

24
mc.spec
View File

@ -21,7 +21,7 @@ Summary: Midnight Commander
License: GPL-3.0+
Group: Productivity/File utilities
Url: http://midnight-commander.org/
Version: 4.8.12
Version: 4.8.13
Release: 0
#Git-Clone: git://github.com/MidnightCommander/mc
@ -31,7 +31,8 @@ Source2: %{name}.desktop
Source3: %{name}.png
Source4: cmake.syntax
Source5: mc-rpmlintrc
Patch18: mc-Syntax.cmake.patch
# fixed upstream, disable for now, remove with next update
#Patch18: mc-Syntax.cmake.patch
Patch0: mc-fix_lib_search_path.patch
Patch61: mc-extd-misc.patch
Patch62: mc-extd-video.patch
@ -118,7 +119,7 @@ isoinfo (from mkisofs) or xorriso for the iso:// extension.
%patch12
%patch16
%patch17 -p1
%patch18
#%patch18
%patch20
%patch21
%patch22 -p1
@ -159,6 +160,14 @@ ln -fs -t %{buildroot}%{_sysconfdir}/profile.d %{_datadir}/mc/mc.{,c}sh
#support script for calling available GUI webbrosers
install -m 755 %{SOURCE1} %{buildroot}%{_datadir}/mc/
install -D -m 644 %{S:3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -D -m 644 %{S:3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
for f in ext.d/misc.sh ext.d/sound.sh ext.d/video.sh \
extfs.d/gitfs+ extfs.d/uace extfs.d/uarc ;
do
sed -i -e '1s@bin/sh@bin/bash@' "%{buildroot}%{_libexecdir}/mc/${f}"
done
%suse_update_desktop_file -i %name System FileManager
# Remove not supported language
rm -rf %{buildroot}%{_datadir}/locale/be@tarask
@ -193,7 +202,9 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%config %{_sysconfdir}/mc/mc.default.keymap
%config %{_sysconfdir}/mc/mc.emacs.keymap
%config %{_sysconfdir}/mc/edit.indent.rc
#(!)dir #{_libexecdir}/mc
%dir %{_libexecdir}/mc
%{_libexecdir}/mc/ext.d
%{_libexecdir}/mc/extfs.d
%verify(not mode) %{_libexecdir}/mc/cons.saver
%{_mandir}/man1/*
%exclude %{_mandir}/*/man1/*
@ -201,7 +212,6 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%{_datadir}/mc/syntax/Syntax
%{_datadir}/mc/mc.charsets
%{_datadir}/mc/mc.lib
%{_libexecdir}/mc
%{_datadir}/mc/hints/mc.hint
%exclude %{_datadir}/mc/hints/mc.hint.*
%{_datadir}/mc/help/mc.hlp
@ -211,6 +221,10 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/32x32/apps
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%exclude %{_sysconfdir}/mc/mc.menu.*
%files lang -f %name.lang