Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
b386ab1de5
commit
e02dabbae8
1 changed files with 2 additions and 6 deletions
|
|
@ -738,7 +738,7 @@ BuildPython() {
|
|||
%{nil}
|
||||
|
||||
# Invoke the build
|
||||
make EXTRA_CFLAGS="$CFLAGS $MoreCFlags" %{?_smp_mflags}
|
||||
%make_build EXTRA_CFLAGS="$CFLAGS $MoreCFlags"
|
||||
|
||||
popd
|
||||
echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
|
||||
|
|
@ -814,11 +814,7 @@ InstallPython() {
|
|||
mkdir -p $ConfDir
|
||||
pushd $ConfDir
|
||||
|
||||
make \
|
||||
DESTDIR=%{buildroot} \
|
||||
INSTALL="install -p" \
|
||||
EXTRA_CFLAGS="$MoreCFlags" \
|
||||
install
|
||||
%make_install EXTRA_CFLAGS="$MoreCFlags"
|
||||
|
||||
popd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue