From 5cafaf7df53208fe7d76f297508e6dac381631e98c4c44641d8c8cc50005d06a Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Mon, 2 Nov 2009 00:22:23 +0000 Subject: [PATCH] fix build on < 10.0 OBS-URL: https://build.opensuse.org/package/show/network:utilities/libmetalink?expand=0&rev=3 --- libmetalink.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmetalink.spec b/libmetalink.spec index c50dbae..77f0492 100644 --- a/libmetalink.spec +++ b/libmetalink.spec @@ -54,6 +54,10 @@ Metalink XML files. %prep %setup -q -n "libmetalink-%{version}" +%if 0%{?suse_version} < 1000 +%__sed -i 's|-fvisibility=hidden||g' lib/metalink/Makefile* +%endif + %build %configure \ --disable-static