use %make_build and %make_install
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
8a38ca66d1
commit
0704dd3fdf
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user