Fixed wayland man page detection on fedora/redhat builds.

This commit is contained in:
Armin Novak 2018-08-24 13:21:27 +02:00
parent 0afba58405
commit afbc969293
1 changed files with 1 additions and 5 deletions

View File

@ -119,7 +119,7 @@ cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}/.source_version
-DWITH_FFMPEG=ON \
-DWITH_DSP_FFMPEG=ON \
%endif
%if %{defined rhel} && 0%{?rhel} <= 7
%if 0%{?fedora} < 21 || 0%{?rhel} < 8
-DWITH_WAYLAND=OFF \
%endif
-DWITH_GSSAPI=ON \
@ -168,10 +168,6 @@ export NO_BRP_CHECK_RPATH true
%{INSTALL_PREFIX}/share/man/man1/winpr-hash.1*
%{INSTALL_PREFIX}/share/man/man7/wlog.7*
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
%{INSTALL_PREFIX}/share/man/man1/wlfreerdp.1*
%endif
%files devel
%defattr(-,root,root)
%{INSTALL_PREFIX}/%{_lib}/*.so