commit 28f0db47560feccd55902c4d95d4fd04f9cebe58
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Oct 6 18:58:14 2017 +0100
Fix build
wxsvg.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/wxsvg.spec b/wxsvg.spec
index 094960c..fe74c21 100644
--- a/wxsvg.spec
+++ b/wxsvg.spec
@@ -39,7 +39,10 @@ rm m4/libtool.m4 m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4
m4/ltversion.m4
autoreconf -i
%configure \
--disable-dependency-tracking \
- --disable-static --with-wx-config=/usr/bin/wx-config-3.0-gtk2
+ %if (0%{?fedora} && 0%{?fedora} < 28)
+ --with-wx-config=/usr/bin/wx-config-3.0-gtk2 \
+ %endif
+ --disable-static
%{__sed} -i
's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool