#1 Use make and make_install macros
Opened 4 years ago by tstellar. Modified 4 years ago
rpms/ tstellar/atlas make-macros  into  rawhide

file modified
+9 -6
@@ -5,7 +5,7 @@ 

  %if "%{?enable_native_atlas}" != "0"

  %define dist .native

  %endif

- Release:        10%{?dist}

+ Release:        11%{?dist}

  Summary:        Automatically Tuned Linear Algebra Software

  

  License:        BSD
@@ -501,17 +501,17 @@ 

  

  %endif

  

- 	make build

+ 	%{__make} build

  	cd lib

- 	make shared

- 	make ptshared

+ 	%{__make} shared

+ 	%{__make} ptshared

  	popd

  done

  

  %install 	

  for type in %{types}; do

  	pushd %{_arch}_${type}

- 	make DESTDIR=%{buildroot} install

+ 	%{make_install}

          mv %{buildroot}%{_includedir}/atlas %{buildroot}%{_includedir}/atlas-%{_arch}-${type}

  	if [ "$type" = "base" ]; then

  		cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/
@@ -559,7 +559,7 @@ 

  #%else

  for type in %{types}; do

  	pushd %{_arch}_${type}

- 	make check ptcheck 

+ 	%{__make} check ptcheck

  	popd

  done

  #%endif
@@ -804,6 +804,9 @@ 

  %endif

  

  %changelog

+ * Tue Feb 25 2020 Tom Stellard <tstellar@redhat.com> - 3.10.3-11

+ - Use make and make_install macros

+ 

  * Mon Jan 27 2020 Jakub Martisko <jamartis@redhat.com> - 3.10.3-10

  - Fix compatibility with gcc 10

  - Sync compiler/linker flags with RHEL

no initial comment