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