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
|
%build
|
||||||
export CPPFLAGS="-I%{_includedir}/ncurses"
|
export CPPFLAGS="-I%{_includedir}/ncurses"
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
|
|
||||||
mkdir $RPM_BUILD_ROOT/%{_lib}
|
mkdir $RPM_BUILD_ROOT/%{_lib}
|
||||||
mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}
|
mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}
|
||||||
|
Loading…
Reference in New Issue
Block a user