diff --git a/configure/RULES_BUILD b/configure/RULES_BUILD index a284a6acb..bc1ffc14b 100644 --- a/configure/RULES_BUILD +++ b/configure/RULES_BUILD @@ -214,7 +214,7 @@ $(sort $(DIRECTORY_TARGETS)): $(MKDIR) $@ # Install LIB_INSTALLS libraries before linking executables -$(TESTPRODNAME) $(PRODNAME): | $(INSTALL_LIB_INSTALLS) +$(TESTPRODNAME) $(PRODNAME): | $(INSTALL_LIB_INSTALLS) $(TESTSHRLIBNAME) # Install built libraries too, unless Makefile says to wait ifneq ($(DELAY_INSTALL_LIBS),YES) diff --git a/epics-base.spec b/epics-base.spec index 6c707f95c..a28f235ea 100644 --- a/epics-base.spec +++ b/epics-base.spec @@ -190,7 +190,7 @@ git submodule update --init --recursive modules %if %{defined epics_host_arch} export EPICS_HOST_ARCH=%{epics_host_arch} %endif -%{__make} INSTALL_LOCATION=%{buildroot}%{prog_folder} FINAL_LOCATION=%{prog_folder} +%make_build INSTALL_LOCATION=%{buildroot}%{prog_folder} FINAL_LOCATION=%{prog_folder} %{__make} INSTALL_LOCATION=%{buildroot}%{prog_folder} copysrc # remove files we do not need @@ -213,7 +213,7 @@ shopt -s extglob # and install will delete our buildroot! %clean -%{__make} INSTALL_LOCATION=%{buildroot}%{prog_folder} realclean +%make_build INSTALL_LOCATION=%{buildroot}%{prog_folder} realclean %{__rm} -f modules/RELEASE.*.local %{__rm} -rf %{buildroot} %{__cp} %{_rpmdir}/*/%{name}*%{version}-%{release}.*.rpm %{_sourcedir}