aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-04-25 14:20:55 +0200
committerMihai Moldovan <ionic@ionic.de>2017-04-25 14:21:30 +0200
commit60d7c02e0ebce704fb78fd6c48c91d90308076de (patch)
treed290cf85cdb7599407d33e7fd7fdc9f99cb93a81 /nx-libs.spec
parent776785afbb71d4d5f2999e8b023ed232ee325662 (diff)
downloadnx-libs-60d7c02e0ebce704fb78fd6c48c91d90308076de.tar.gz
nx-libs-60d7c02e0ebce704fb78fd6c48c91d90308076de.tar.bz2
nx-libs-60d7c02e0ebce704fb78fd6c48c91d90308076de.zip
nx-libs.spec: RPM does not support %elif/%elsif/%elseif/whatever.
Fixes: ArcticaProject/nx-libs#432
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