Fixed wayland man page detection on fedora/redhat builds.
authorArmin Novak <armin.novak@thincast.com>
Fri, 24 Aug 2018 11:21:27 +0000 (13:21 +0200)
committerArmin Novak <armin.novak@thincast.com>
Fri, 24 Aug 2018 11:21:27 +0000 (13:21 +0200)
packaging/rpm/freerdp-nightly.spec

index 9dc09de..c2c47e4 100644 (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