Update to 0.2.20.

This commit is contained in:
Susi Lehtola 2017-07-31 23:50:12 +02:00
commit edcc40e721

View File

@ -89,7 +89,7 @@ BuildRequires: lapack64-static
# Upstream supports the package only on these architectures. # Upstream supports the package only on these architectures.
# Runtime processor detection is not available on other archs. # Runtime processor detection is not available on other archs.
ExclusiveArch: x86_64 %{ix86} armv7hl %{power64} aarch64 ExclusiveArch: %{openblas_arches}
%global base_description \ %global base_description \
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \ OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
@ -202,6 +202,7 @@ Requires: %{name}-openmp64_%{?_isa} = %{version}-%{release}
Requires: %{name}-threads64_%{?_isa} = %{version}-%{release} Requires: %{name}-threads64_%{?_isa} = %{version}-%{release}
Requires: %{name}-serial64_%{?_isa} = %{version}-%{release} Requires: %{name}-serial64_%{?_isa} = %{version}-%{release}
%endif %endif
Requires: %{name}-srpm-macros
%description devel %description devel
%{base_description} %{base_description}
@ -218,6 +219,7 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
This package contains the static libraries. This package contains the static libraries.
%prep %prep
%setup -q -c -T %setup -q -c -T
@ -421,6 +423,9 @@ suffix="_power8"
%ifarch aarch64 %ifarch aarch64
suffix="_armv8" suffix="_armv8"
%endif %endif
%ifarch s390x
suffix="_zarch_generic"
%endif
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so` slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
if [[ "$suffix" != "" ]]; then if [[ "$suffix" != "" ]]; then
@ -541,6 +546,8 @@ done
# Get rid of generated CMake config # Get rid of generated CMake config
rm -rf %{buildroot}%{_libdir}/cmake rm -rf %{buildroot}%{_libdir}/cmake
# Get rid of generated pkgconfig
rm -rf %{buildroot}%{_libdir}/pkgconfig
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -575,56 +582,45 @@ rm -rf %{buildroot}%{_libdir}/cmake
rm -rf %{buildroot} rm -rf %{buildroot}
%files %files
# DO NOT REMOVE %defattr SECTIONS!
%defattr(-,root,root,-)
%doc serial/Changelog.txt serial/GotoBLAS* serial/LICENSE %doc serial/Changelog.txt serial/GotoBLAS* serial/LICENSE
%{_libdir}/lib%{name}-*.so %{_libdir}/lib%{name}-*.so
%{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}.so.*
%files openmp %files openmp
%defattr(-,root,root,-)
%{_libdir}/lib%{name}o-*.so %{_libdir}/lib%{name}o-*.so
%{_libdir}/lib%{name}o.so.* %{_libdir}/lib%{name}o.so.*
%files threads %files threads
%defattr(-,root,root,-)
%{_libdir}/lib%{name}p-*.so %{_libdir}/lib%{name}p-*.so
%{_libdir}/lib%{name}p.so.* %{_libdir}/lib%{name}p.so.*
%if %build64 %if %build64
%files serial64 %files serial64
%defattr(-,root,root,-)
%{_libdir}/lib%{name}64-*.so %{_libdir}/lib%{name}64-*.so
%{_libdir}/lib%{name}64.so.* %{_libdir}/lib%{name}64.so.*
%files openmp64 %files openmp64
%defattr(-,root,root,-)
%{_libdir}/lib%{name}o64-*.so %{_libdir}/lib%{name}o64-*.so
%{_libdir}/lib%{name}o64.so.* %{_libdir}/lib%{name}o64.so.*
%files threads64 %files threads64
%defattr(-,root,root,-)
%{_libdir}/lib%{name}p64-*.so %{_libdir}/lib%{name}p64-*.so
%{_libdir}/lib%{name}p64.so.* %{_libdir}/lib%{name}p64.so.*
%files serial64_ %files serial64_
%defattr(-,root,root,-)
%{_libdir}/lib%{name}64_-*.so %{_libdir}/lib%{name}64_-*.so
%{_libdir}/lib%{name}64_.so.* %{_libdir}/lib%{name}64_.so.*
%files openmp64_ %files openmp64_
%defattr(-,root,root,-)
%{_libdir}/lib%{name}o64_-*.so %{_libdir}/lib%{name}o64_-*.so
%{_libdir}/lib%{name}o64_.so.* %{_libdir}/lib%{name}o64_.so.*
%files threads64_ %files threads64_
%defattr(-,root,root,-)
%{_libdir}/lib%{name}p64_-*.so %{_libdir}/lib%{name}p64_-*.so
%{_libdir}/lib%{name}p64_.so.* %{_libdir}/lib%{name}p64_.so.*
%endif %endif
%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}/ %{_includedir}/%{name}/
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%{_libdir}/lib%{name}o.so %{_libdir}/lib%{name}o.so
@ -639,11 +635,9 @@ rm -rf %{buildroot}
%endif %endif
%files Rblas %files Rblas
%defattr(-,root,root,-)
%{_libdir}/R/lib/libRblas.so %{_libdir}/R/lib/libRblas.so
%files static %files static
%defattr(-,root,root,-)
%{_libdir}/lib%{name}.a %{_libdir}/lib%{name}.a
%{_libdir}/lib%{name}o.a %{_libdir}/lib%{name}o.a
%{_libdir}/lib%{name}p.a %{_libdir}/lib%{name}p.a
@ -660,6 +654,21 @@ rm -rf %{buildroot}
* Fri Jul 28 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-1 * Fri Jul 28 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-1
- Update to 0.2.20. - Update to 0.2.20.
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.19-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon May 29 2017 Dan Horák <dan[at]danny.cz> - 0.2.19-11
- add generic s390x support (#1442048)
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-10
- Drop openblas-srpm-macros version requirement
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-9
- Move openblas-srpm-macros to separate package
* Wed Mar 15 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-8
- Define %%openblas_arches for dependent packages to use
* Mon Feb 13 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-7 * Mon Feb 13 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-7
- Upgrade Patch4 to hopefully fully fix the issues on PPC64LE - Upgrade Patch4 to hopefully fully fix the issues on PPC64LE