From b3f77696e1eac544496fb83ab1892cea83da709a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 26 Dec 2016 23:38:44 -0800 Subject: [PATCH] Use %autosetup instead of %setup and %patch --- xrdp.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xrdp.spec b/xrdp.spec index cd2c768..668184e 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -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