From c7a40cc094fc5c4b819780941cb5d2188993d351 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 23 Jan 2018 14:05:16 +0900 Subject: [PATCH] Disable -z defs because plugin uses binary internal symbols --- gnome-commander.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnome-commander.spec b/gnome-commander.spec index 5478e7f..44efc66 100644 --- a/gnome-commander.spec +++ b/gnome-commander.spec @@ -16,6 +16,15 @@ # # ref: http://lists.gnu.org/archive/html/gcmd-devel/2007-11/msg00076.html +# gcmd plugins uses symbols defined in gcmd binary +%undefine _strict_symbol_defs_build + +%if 0%{fedora} >= 28 +%global python2_devel python2-devel +%else +%global python2_devel python-devel +%endif + %global EXIV2_REQ 0.14 %global TAGLIB_REQ 1.4 %global LIBGSF_REQ 1.12.0 @@ -28,7 +37,7 @@ %global use_autotool 0 %global update_po 0 %global if_pre 0 -%global main_release 1 +%global main_release 2 #%%global extratag %{git_pull_JST}git%{shorthash} %undefine extratag %global mimeedit_rev 1958 @@ -53,7 +62,7 @@ Name: gnome-commander Version: 1.8.0 # Downgrade 3 times, sorry... Epoch: 4 -Release: %{fedora_rel}%{?dist}.1 +Release: %{fedora_rel}%{?dist} Summary: A nice and fast file manager for the GNOME desktop Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM) Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME @@ -89,7 +98,7 @@ BuildRequires: libSM-devel BuildRequires: gnome-doc-utils BuildRequires: perl(XML::Parser) -BuildRequires: python2-devel +BuildRequires: %python2_devel %if %{use_autotool} BuildRequires: automake @@ -279,6 +288,9 @@ exit 0 %{_datadir}/pixmaps/%{name}/ %changelog +* Tue Jan 23 2018 Mamoru TASAKA - 4:1.8.0-2 +- Disable -z defs because plugin uses binary internal symbols + * Fri Jan 05 2018 Iryna Shcherbina - 4:1.8.0-1.1 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)