From: Armin Novak Date: Fri, 24 Aug 2018 11:21:27 +0000 (+0200) Subject: Fixed wayland man page detection on fedora/redhat builds. X-Git-Tag: 2.0.0-rc4~101^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afbc9692936dcdbe3ebca9b715109b63d9e1484f;p=platform%2Fupstream%2Ffreerdp.git Fixed wayland man page detection on fedora/redhat builds. --- diff --git a/packaging/rpm/freerdp-nightly.spec b/packaging/rpm/freerdp-nightly.spec index 9dc09de..c2c47e4 100644 --- a/packaging/rpm/freerdp-nightly.spec +++ b/packaging/rpm/freerdp-nightly.spec @@ -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