Use plain make rather than __make macro

lowercase-endpoints
Xavier Bachelot 6 years ago
parent dbe82fc94c
commit 45f5e25d22
  1. 8
      rpm/lemonldap-ng.spec

@ -373,16 +373,16 @@ This package installs the authentication portal.
# Building # Building
#============================================================================== #==============================================================================
%build %build
%{__make} %{?_smp_mflags} configure \ make %{?_smp_mflags} configure \
STORAGECONFFILE=%{lm_storagefile} \ STORAGECONFFILE=%{lm_storagefile} \
PERLOPTIONS="INSTALLDIRS=vendor" PERLOPTIONS="INSTALLDIRS=vendor"
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
#============================================================================== #==============================================================================
# Installation # Installation
#============================================================================ #============================================================================
%install %install
%{__make} %{?_smp_mflags} install \ make %{?_smp_mflags} install \
DESTDIR=%{buildroot} \ DESTDIR=%{buildroot} \
PREFIX=%{lm_prefix} \ PREFIX=%{lm_prefix} \
BINDIR=%{lm_bindir} \ BINDIR=%{lm_bindir} \
@ -504,7 +504,7 @@ chmod 644 %{buildroot}/usr/share/lemonldap-ng/test/cas.php
%check %check
sed -i 's:^dirName.*:dirName = %{buildroot}%{lm_vardir}/conf:' \ sed -i 's:^dirName.*:dirName = %{buildroot}%{lm_vardir}/conf:' \
%{buildroot}%{lm_storagefile} %{buildroot}%{lm_storagefile}
%{__make} %{?_smp_mflags} test \ make %{?_smp_mflags} test \
LLNG_DEFAULTCONFFILE=%{buildroot}%{lm_storagefile} LLNG_DEFAULTCONFFILE=%{buildroot}%{lm_storagefile}
sed -i 's:^dirName.*:dirName = %{lm_vardir}/conf:' \ sed -i 's:^dirName.*:dirName = %{lm_vardir}/conf:' \
%{buildroot}%{lm_storagefile} %{buildroot}%{lm_storagefile}

Loading…
Cancel
Save