diff --git a/file-roller-3.4-change-archiver-priority.patch b/file-roller-3.4-change-archiver-priority.patch new file mode 100644 index 0000000..0396772 --- /dev/null +++ b/file-roller-3.4-change-archiver-priority.patch @@ -0,0 +1,20 @@ +Index: src/fr-init.c +=================================================================== +--- src/fr-init.c.orig ++++ src/fr-init.c +@@ -339,6 +339,7 @@ register_commands (void) + + register_command (FR_TYPE_COMMAND_TAR); + register_command (FR_TYPE_COMMAND_CFILE); ++ register_command (FR_TYPE_COMMAND_ZIP); + register_command (FR_TYPE_COMMAND_7Z); + register_command (FR_TYPE_COMMAND_DPKG); + +@@ -353,7 +354,6 @@ register_commands (void) + register_command (FR_TYPE_COMMAND_RAR); + register_command (FR_TYPE_COMMAND_RPM); + register_command (FR_TYPE_COMMAND_UNSTUFF); +- register_command (FR_TYPE_COMMAND_ZIP); + register_command (FR_TYPE_COMMAND_LRZIP); + register_command (FR_TYPE_COMMAND_ZOO); + } diff --git a/file-roller.changes b/file-roller.changes index 24b175a..f295211 100644 --- a/file-roller.changes +++ b/file-roller.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jun 17 17:29:05 UTC 2012 - gankov@opensuse.org + +- Add file-roller-3.4-change-archiver-priority.patch : Fix encoding + of cyrillic filenames in zip, created under Windows (bnc#767386) + ------------------------------------------------------------------- Mon May 14 20:41:44 UTC 2012 - vuntz@opensuse.org diff --git a/file-roller.spec b/file-roller.spec index 1a74708..51c73b0 100644 --- a/file-roller.spec +++ b/file-roller.spec @@ -24,6 +24,8 @@ License: GPL-2.0+ Group: Productivity/Archiving/Compression Url: http://fileroller.sourceforge.net Source: http://download.gnome.org/sources/file-roller/3.4/%{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE file-roller-3.4-change-archiver-priority.patch [bnc#767386] +Patch0: file-roller-3.4-change-archiver-priority.patch # Needed for directory ownership BuildRequires: dbus-1 BuildRequires: fdupes @@ -89,6 +91,7 @@ This package contains a plugin to integrate File Roller into Nautilus. %lang_package %prep %setup -q +%patch0 translation-update-upstream %build