use %autosetup macro

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2017-01-11 17:31:24 +01:00
parent 4a8a20e26f
commit 8a38ca66d1

View File

@ -49,10 +49,7 @@ The readline-static package contains the static version of the readline
library.
%prep
%setup -q
%patch5 -p1
%patch8 -p1
%patch9 -p1
%autosetup -p1
%build
export CPPFLAGS="-I%{_includedir}/ncurses"