aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index c98ead467..8099ac66a 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -388,9 +388,11 @@ make install \
# this needs to be adapted distribution-wise...
%if 0%{?suse_version}
ln -s ../fonts %{buildroot}%{_datadir}/nx/fonts
-%elif 0%{?fedora} || 0%{?rhel}
+%else
+%if 0%{?fedora} || 0%{?rhel}
ln -s ../X11/fonts %{buildroot}%{_datadir}/nx/fonts
%endif
+%endif
# Remove static libs (they don't exist on SLES, so using -f here)
rm -f %{buildroot}%{_libdir}/*.a