Integrate patches in the spec file.

This commit is contained in:
Bojan Smojver 2015-07-17 11:02:42 +10:00
parent db390059b0
commit 0a0994e944

View File

@ -10,6 +10,9 @@ Source1: xrdp-sesman.pamd
Source2: xrdp.sysconfig
Source3: xrdp.logrotate
Patch0: xrdp-0.9.0-sesman.patch
Patch1: xrdp-0.9.0-service.patch
BuildRequires: pam-devel
BuildRequires: openssl-devel
BuildRequires: autoconf
@ -37,6 +40,11 @@ terminal server / remote desktop clients.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .sesman
%patch1 -p1 -b .service
# never hardcode rpaths
%{__sed} -i -e 's/^\(AM_CONDITIONAL(GOT_PREFIX,\).*$/\1 false)/' configure.ac
# remove unused modules from xrdp login combobox
%{__sed} -i -e '/\[xrdp1\]/,$d' xrdp/xrdp.ini