--- freenx.spec.ori 2010-10-01 15:20:36.000000000 +0200 +++ freenx.spec 2010-10-01 15:23:58.000000000 +0200 @@ -21,12 +21,7 @@ Source2: nxserver.logrotate Patch631: freenx-0.7.3-r631.patch Patch0: freenx-0.7.1-nxnode-fullscreen.patch -%if "%centos_ver" == "5" Patch1: freenx-0.7.2-centos-diffs.patch -%endif -%if "%centos_ver" == "6" -Patch1: freenx-0.7.2-centos-el6-diffs.patch -%endif Patch2: freenx-0.7.2-initd-script.patch Patch3: freenx-0.7.2-mswindows-sessreg.patch Patch4: freenx-0.7.3-centos-nxserver.patch @@ -36,6 +31,7 @@ Patch8: freenx-0.7.3-centos-space-in-passwd-bug4274.patch Patch9: freenx-0.7.3-centos-leading-dash-in-passwd-bug4275.patch Patch10: freenx-0.7.3-centos-md5sum-bug4360.patch +Patch11: freenx-0.7.2-centos-el6-diffs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: openssh-server nc expect dbus-x11 perl xorg-x11-server-utils @@ -69,7 +65,12 @@ %patch631 -p1 %patch0 -p1 +%if "%centos_ver" == "5" %patch1 -p1 +%endif +%if "%centos_ver" == "6" +%patch11 -p1 +%endif %patch2 -p1 %if "%centos_ver" == "4"