Removed comments with variables and (previously added) buggy suse conditionals

This commit is contained in:
Armin Novak 2018-08-13 15:44:53 +02:00
Родитель 735ab2e8b2
Коммит 2109399880
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -24,7 +24,6 @@ Summary: Free implementation of the Remote Desktop Protocol (RDP)
Url: http://www.freerdp.com
Group: Productivity/Networking/Other
Source0: %{name}-%{version}.tar.bz2
#Source1: %{name}-rpmlintrc
Source1: source_version
BuildRequires: gcc-c++
BuildRequires: cmake >= 2.8.12
@ -80,10 +79,9 @@ BuildRequires: dbus-glib-devel
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: libjpeg-turbo-devel
#BuildRequires: ffmpeg-devel
%endif
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8 || %{defined suse_version}
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
BuildRequires: libwayland-client-devel
%endif
@ -117,12 +115,10 @@ cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}/.source_version
-DWITH_CUPS=ON \
-DWITH_PCSC=ON \
-DWITH_JPEG=ON \
-DWITH_GSTREAMER_0_10=ON \
%if %{defined suse_version}
-DWITH_FFMPEG=ON \
-DWITH_DSP_FFMPEG=ON \
%endif
%if %{defined rhel} && 0%{?rhel} <= 7
-DWITH_WAYLAND=OFF \
%endif
@ -172,7 +168,7 @@ 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 || %{defined suse_version}
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
%{INSTALL_PREFIX}/share/man/man1/wlfreerdp.1*
%endif