From 0704dd3fdfe34d839ee3988056bbe433eb0bdf81 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 11 Jan 2017 17:32:07 +0100 Subject: [PATCH] use %make_build and %make_install Signed-off-by: Igor Gnatenko --- readline.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readline.spec b/readline.spec index 3dc7510..dc3e601 100644 --- a/readline.spec +++ b/readline.spec @@ -54,12 +54,12 @@ library. %build export CPPFLAGS="-I%{_includedir}/ncurses" %configure -make %{?_smp_mflags} +%make_build %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%make_install mkdir $RPM_BUILD_ROOT/%{_lib} mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}