Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
4eef32b621
commit
4408e89e7a
@ -47,11 +47,11 @@ Documentation for developing applications with libogg
|
|||||||
sed -i "s|-O20|$RPM_OPT_FLAGS|" configure
|
sed -i "s|-O20|$RPM_OPT_FLAGS|" configure
|
||||||
sed -i "s|-ffast-math||" configure
|
sed -i "s|-ffast-math||" configure
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user