Commit 60d7c02e authored by Mihai Moldovan's avatar Mihai Moldovan

nx-libs.spec: RPM does not support %elif/%elsif/%elseif/whatever.

Fixes: ArcticaProject/nx-libs#432
parent 776785af
...@@ -388,9 +388,11 @@ make install \ ...@@ -388,9 +388,11 @@ make install \
# this needs to be adapted distribution-wise... # this needs to be adapted distribution-wise...
%if 0%{?suse_version} %if 0%{?suse_version}
ln -s ../fonts %{buildroot}%{_datadir}/nx/fonts 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 ln -s ../X11/fonts %{buildroot}%{_datadir}/nx/fonts
%endif %endif
%endif
# Remove static libs (they don't exist on SLES, so using -f here) # Remove static libs (they don't exist on SLES, so using -f here)
rm -f %{buildroot}%{_libdir}/*.a rm -f %{buildroot}%{_libdir}/*.a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment