Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
deb6124adb
commit
89084e10d2
@ -761,7 +761,7 @@ fi
|
||||
|
||||
# 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the
|
||||
# vendor dir not the site dir.
|
||||
make V=1 INSTALLDIRS=vendor %{?_smp_mflags}
|
||||
%make_build INSTALLDIRS=vendor
|
||||
|
||||
|
||||
%check
|
||||
@ -787,7 +787,7 @@ fi
|
||||
%install
|
||||
# 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the
|
||||
# vendor dir not the site dir.
|
||||
make DESTDIR=$RPM_BUILD_ROOT INSTALLDIRS=vendor install
|
||||
%make_install INSTALLDIRS=vendor
|
||||
|
||||
# Delete static libraries.
|
||||
rm $( find $RPM_BUILD_ROOT -name '*.a' | grep -v /ocaml/ )
|
||||
|
Loading…
Reference in New Issue
Block a user