Use generic macro to detect 64 bit platforms

This commit is contained in:
Peter Robinson 2014-10-14 01:00:36 +01:00
parent affecf6b60
commit 1c07fc6e86

View File

@ -1,7 +1,7 @@
%global shortver 3 %global shortver 3
%global mediumver %{shortver}.5 %global mediumver %{shortver}.5
%ifarch x86_64 ppc64 %if %{__isa_bits} == 64
%global arch64 1 %global arch64 1
%else %else
%global arch64 0 %global arch64 0
@ -10,7 +10,7 @@
Summary: Numerical linear algebra package libraries Summary: Numerical linear algebra package libraries
Name: lapack Name: lapack
Version: %{mediumver}.0 Version: %{mediumver}.0
Release: 8%{?dist} Release: 9%{?dist}
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.netlib.org/lapack/ URL: http://www.netlib.org/lapack/
@ -450,6 +450,9 @@ ln -sf libblas64.so.%{version} libblas64.so.%{mediumver}
%endif %endif
%changelog %changelog
* Mon Oct 13 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.5.0-9
- Use generic macro to detect 64 bit platforms
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-8 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild