From aa3ab11621d1872973c1095f151f2514d9bf61c33f1e387353fc2bf0720a7942 Mon Sep 17 00:00:00 2001 From: Guido Berhoerster Date: Mon, 4 Jun 2012 09:41:05 +0000 Subject: [PATCH] fix guile paths for 11.4 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=44 --- weechat.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weechat.spec b/weechat.spec index e8d7b29..d7f2eb8 100644 --- a/weechat.spec +++ b/weechat.spec @@ -15,7 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%if 0%{?suse_version} > 1140 %define guile_ver 2.0 +%endif Name: weechat Version: 0.3.8 @@ -147,8 +149,10 @@ pushd build cmake \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DLIBDIR="%{_libdir}" \ +%if 0%{?suse_version} > 1140 -DGUILE_INCLUDE_DIR="%{_includedir}/guile/2.0" \ -DGUILE_LIBRARY="%{_libdir}/libguile-%{guile_ver}.so" \ +%endif -DPYTHON_LIBRARY="%{_libdir}/libpython%{py_ver}.so" \ .. %__make %{?_smp_flags} VERBOSE=1