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. of RDP clients, including FreeRDP and Microsoft RDP client.
%prep %prep
%setup -q -n %{name}-%{version} %autosetup -p1
%patch0 -p1 -b .sesman
%patch1 -p1 -b .xrdp-ini
# create 'bash -l' based startwm, to pick up PATH etc. # create 'bash -l' based startwm, to pick up PATH etc.
echo '#!/bin/bash -l echo '#!/bin/bash -l