Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/atlas.git#bc27fbac716f4de3d8f4118ec40c7d9204754bd1
This commit is contained in:
DistroBaker 2021-02-23 02:55:23 +00:00
parent b525a58a3f
commit 821f455cfa
1 changed files with 65 additions and 71 deletions

View File

@ -5,7 +5,7 @@ Version: 3.10.3
%if "%{?enable_native_atlas}" != "0" %if "%{?enable_native_atlas}" != "0"
%define dist .native %define dist .native
%endif %endif
Release: 13%{?dist} Release: 15%{?dist}
Summary: Automatically Tuned Linear Algebra Software Summary: Automatically Tuned Linear Algebra Software
License: BSD License: BSD
@ -574,115 +574,102 @@ fi
%if "%{?enable_native_atlas}" == "0" %if "%{?enable_native_atlas}" == "0"
%ifarch x86_64 %ifarch x86_64
%post -n atlas-corei2 -p /sbin/ldconfig %post -n atlas-corei2 -p /sbin/ldconfig
%postun -n atlas-corei2 -p /sbin/ldconfig %postun -n atlas-corei2 -p /sbin/ldconfig
%posttrans corei2-devel %posttrans corei2-devel
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \ /usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
%{_includedir}/atlas-%{_arch}-corei2 %{pr_corei2} %{_includedir}/atlas-%{_arch}-corei2 %{pr_corei2}
%postun corei2-devel %postun corei2-devel
if [ $1 -ge 0 ] ; then if [ $1 -ge 0 ] ; then
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-corei2 /usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-corei2
fi fi
%endif %endif
%ifarch %{ix86} %ifarch %{ix86}
# No arch specific packages
%post -n atlas-corei1 -p /sbin/ldconfig
%postun -n atlas-corei1 -p /sbin/ldconfig
%posttrans corei1-devel
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
%{_includedir}/atlas-%{_arch}-corei1 %{pr_corei1}
%postun corei1-devel
if [ $1 -ge 0 ] ; then
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-corei1
fi
%endif %endif
%ifarch s390 s390x %ifarch s390 s390x
%post -n atlas-z14 -p /sbin/ldconfig %post -n atlas-z14 -p /sbin/ldconfig
%postun -n atlas-z14 -p /sbin/ldconfig %postun -n atlas-z14 -p /sbin/ldconfig
%posttrans z14-devel %posttrans z14-devel
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \ /usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
%{_includedir}/atlas-%{_arch}-z14 %{pr_z14} %{_includedir}/atlas-%{_arch}-z14 %{pr_z14}
%postun z14-devel %postun z14-devel
if [ $1 -ge 0 ] ; then if [ $1 -ge 0 ] ; then
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z14 /usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z14
fi fi
%post -n atlas-z15 -p /sbin/ldconfig %post -n atlas-z15 -p /sbin/ldconfig
%postun -n atlas-z15 -p /sbin/ldconfig %postun -n atlas-z15 -p /sbin/ldconfig
%posttrans z15-devel %posttrans z15-devel
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \ /usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
%{_includedir}/atlas-%{_arch}-z15 %{pr_z15} %{_includedir}/atlas-%{_arch}-z15 %{pr_z15}
%postun z15-devel %postun z15-devel
if [ $1 -ge 0 ] ; then if [ $1 -ge 0 ] ; then
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z15 /usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z15
fi fi
%endif %endif
%ifarch ppc64 %ifarch ppc64
%post -n atlas-power7 -p /sbin/ldconfig %post -n atlas-power7 -p /sbin/ldconfig
%postun -n atlas-power7 -p /sbin/ldconfig %postun -n atlas-power7 -p /sbin/ldconfig
%posttrans power7-devel %posttrans power7-devel
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \ /usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
%{_includedir}/atlas-%{_arch}-power7 %{pr_power7} %{_includedir}/atlas-%{_arch}-power7 %{pr_power7}
%postun power7-devel %postun power7-devel
if [ $1 -ge 0 ] ; then if [ $1 -ge 0 ] ; then
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-power7 /usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-power7
fi fi
%post -n atlas-ppc8 -p /sbin/ldconfig %post -n atlas-ppc8 -p /sbin/ldconfig
%postun -n atlas-ppc8 -p /sbin/ldconfig %postun -n atlas-ppc8 -p /sbin/ldconfig
%posttrans ppc8-devel %posttrans ppc8-devel
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \ /usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
%{_includedir}/atlas-%{_arch}-ppc8 %{pr_ppc8} %{_includedir}/atlas-%{_arch}-ppc8 %{pr_ppc8}
%postun ppc8-devel %postun ppc8-devel
if [ $1 -ge 0 ] ; then if [ $1 -ge 0 ] ; then
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-ppc8 /usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-ppc8
fi fi
%endif %endif
#enable_native_atlas #enable_native_atlas
%endif %endif
%files %files
%doc doc/README.dist %doc doc/README.dist
%dir %{_libdir}/atlas %dir %{_libdir}/atlas
%{_libdir}/atlas/*.so.* %{_libdir}/atlas/*.so.*
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf %config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf
%files devel %files devel
%doc doc %doc doc
%{_libdir}/atlas/*.so %{_libdir}/atlas/*.so
%{_includedir}/atlas-%{_arch}-base/ %{_includedir}/atlas-%{_arch}-base/
%{_includedir}/*.h %{_includedir}/*.h
%ghost %{_includedir}/atlas %ghost %{_includedir}/atlas
%{_libdir}/pkgconfig/atlas.pc %{_libdir}/pkgconfig/atlas.pc
%files static %files static
%{_libdir}/atlas/*.a %{_libdir}/atlas/*.a
%if "%{?enable_native_atlas}" == "0" %if "%{?enable_native_atlas}" == "0"
@ -783,6 +770,13 @@ fi
%endif %endif
%changelog %changelog
* Mon Feb 22 2021 Jakub Martisko <jamartis@redhat.com> - 3.10.3-15
- Remove unused scriptlets
* Mon Feb 22 2021 Jakub Martisko <jamartis@redhat.com> - 3.10.3-14
- Fix the messed scriptlets
Resolves: #1929845
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.3-13 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild