Use %autosetup instead of %setup and %patch

This commit is contained in:
Pavel Roskin 2016-12-26 23:38:44 -08:00
parent 91f91dc6ef
commit b3f77696e1

View File

@ -38,9 +38,7 @@ xrdp provides a fully functional RDP server compatible with a wide range
of RDP clients, including FreeRDP and Microsoft RDP client.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .sesman
%patch1 -p1 -b .xrdp-ini
%autosetup -p1
# create 'bash -l' based startwm, to pick up PATH etc.
echo '#!/bin/bash -l