Hello community, here is the log from the commit of package lapack for openSUSE:Factory checked in at 2020-10-12 13:46:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lapack (Old) and /work/SRC/openSUSE:Factory/.lapack.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lapack" Mon Oct 12 13:46:52 2020 rev:47 rq:841039 version:3.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lapack/lapack-man.changes 2018-04-06 17:41:52.788108222 +0200 +++ /work/SRC/openSUSE:Factory/.lapack.new.3486/lapack-man.changes 2020-10-12 13:46:57.797912764 +0200 @@ -1,0 +2,37 @@ +Fri Oct 9 21:00:30 UTC 2020 - Stefan Brüns <[email protected]> + +- Build CBLAS from lapack package + * update baselibs.conf +- Clean up spec file: + * remove useless make cleanlib + * remove ineffective duplicated 'make ..lib' calls with deviating + opts, as the object files are not removed (fortuanately) the + existing PIC files are used for the static libraries + * remove fortran-only -std=legacy opt from CFLAGS + +------------------------------------------------------------------- +Fri Oct 9 17:28:03 UTC 2020 - Stefan Brüns <[email protected]> + +- lapack-man: + * Build manpages from same sources as the binaries (3.8.0) instead + of old 3.5.0. + * Merge blas-man package into lapack-man package. Avoids tedious + splitting of the two. + * Use fdupes macro instead of trying to deduplicate man pages + manually. +- Cleanup lapack spec: + * Remove conditionals for obsolete distro versions + * Only use python3-base instead of python3 + * Drop old copy of lapack_testing.py as separate source + +------------------------------------------------------------------- +Fri Mar 13 14:58:33 UTC 2020 - Martin Liška <[email protected]> + +- Add -std=legacy in order to fix boo#1166619. + +------------------------------------------------------------------- +Fri Aug 2 07:03:54 UTC 2019 - Martin Liška <[email protected]> + +- Use FAT LTO objects in order to provide proper static library. + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/lapack/lapack.changes 2020-03-18 12:25:55.992217520 +0100 +++ /work/SRC/openSUSE:Factory/.lapack.new.3486/lapack.changes 2020-10-12 13:46:57.861912789 +0200 @@ -1,0 +2,27 @@ +Fri Oct 9 21:00:30 UTC 2020 - Stefan Brüns <[email protected]> + +- Build CBLAS from lapack package + * update baselibs.conf +- Clean up spec file: + * remove useless make cleanlib + * remove ineffective duplicated 'make ..lib' calls with deviating + opts, as the object files are not removed (fortuanately) the + existing PIC files are used for the static libraries + * remove fortran-only -std=legacy opt from CFLAGS + +------------------------------------------------------------------- +Fri Oct 9 17:28:03 UTC 2020 - Stefan Brüns <[email protected]> + +- lapack-man: + * Build manpages from same sources as the binaries (3.8.0) instead + of old 3.5.0. + * Merge blas-man package into lapack-man package. Avoids tedious + splitting of the two. + * Use fdupes macro instead of trying to deduplicate man pages + manually. +- Cleanup lapack spec: + * Remove conditionals for obsolete distro versions + * Only use python3-base instead of python3 + * Drop old copy of lapack_testing.py as separate source + +------------------------------------------------------------------- Old: ---- lapack-3.5.0.tgz lapack_testing.py ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lapack-man.spec ++++++ --- /var/tmp/diff_new_pack.IUBRqd/_old 2020-10-12 13:46:58.809913174 +0200 +++ /var/tmp/diff_new_pack.IUBRqd/_new 2020-10-12 13:46:58.809913174 +0200 @@ -18,125 +18,43 @@ Name: lapack-man %define _name lapack -Version: 3.5.0 +Version: 3.8.0 Release: 0 -Summary: Manpages for LAPACK +Summary: Manpages for LAPACK and BLAS License: BSD-3-Clause -Group: Documentation/HTML +Group: Documentation/Other URL: http://www.netlib.org/lapack/ -Source0: http://www.netlib.org/lapack/%{_name}-%{version}.tgz +Source0: http://www.netlib.org/lapack/%{_name}-%{version}.tar.gz BuildRequires: doxygen >= 1.7 -Provides: lapack-manpages = %{version} -Obsoletes: lapack-manpages < %{version} +BuildRequires: fdupes +# Merged blas-man into lapack-man with 3.8.0 update +Provides: blas-man = %{version} +Obsoletes: blas-man < %{version} BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Manpages for LAPACK - -%package -n blas-man -Summary: Documentation for BLAS (Basic Linear Algebra Subprograms) -Group: Development/Libraries/Parallel -Provides: blasman = %{version} -Obsoletes: blasman < %{version} - -%description -n blas-man -The blas-man package contains documentation for BLAS (Basic Linear -Algebra subprograms) routines, in the form of man pages. +The lapack-man package contains documentation for LAPACK +(Linear Algebra PACKage) and BLAS (Basic Linear Algebra +Subprograms) routines, in the form of man pages. %prep %setup -q -n %{_name}-%{version} %build -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects cp make.inc.example make.inc -# Create man pages - and do some cleanup make man %{?_smp_mflags} -rm -f DOCS/man/man3/*tst* -rm -f DOCS/man/man3/TST* -rm -f DOCS/man/man3/MYSUB.3 -rm -f DOCS/man/man3/INSTALL_lsame.f.3 -rm -f DOCS/man/man3/xerbla.f.3 -rm -f DOCS/man/man3/xerbla_array.f.3 -rm -f DOCS/man/man3/*_.3 -rm -f DOCS/man/man3/dsecnd_*.3 -rm -f DOCS/man/man3/DSECND.3 -rm -f DOCS/man/man3/second_*3 -rm -f DOCS/man/man3/SECOND.3 -rm -f DOCS/man/man3/LAPACK_version.f.3 -rm -f DOCS/man/man3/SRC_ilaver.f.3 -rm -f DOCS/man/man3/SRC_xerbla.f.3 -rm -f DOCS/man/man3/SRC_xerbla_array.f.3 -rm -f DOCS/man/man3/SLAMC2.3.gz -rm -f DOCS/man/man3/SLAMC3.3.gz -rm -f DOCS/man/man3/SLAMC4.3.gz -rm -f DOCS/man/man3/SLAMC5.3.gz -rm -f DOCS/man/man3/DLAMC2.3.gz -rm -f DOCS/man/man3/DLAMC3.3.gz -rm -f DOCS/man/man3/DLAMC4.3.gz -rm -f DOCS/man/man3/DLAMC5.3.gz -rm -f DOCS/man/man3/SLADIV1.3.gz -rm -f DOCS/man/man3/SLADIV2.3.gz -rm -f DOCS/man/man3/DLADIV1.3.gz -rm -f DOCS/man/man3/DLADIV2.3.gz -mv DOCS/man/man3/BLAS_SRC_lsame.f.3 DOCS/man/man3/lsame.f.3 -mv DOCS/man/man3/BLAS_SRC_xerbla.f.3 DOCS/man/man3/xerbla.f.3 -mv DOCS/man/man3/BLAS_SRC_xerbla_array.f.3 DOCS/man/man3/xerbla_array.f.3 -mv DOCS/man/man3/INSTALL_ilaver.f.3 DOCS/man/man3/ilaver.f.3 -rm -f DOCS/psfig.tex # see bnc#757332 + +# Remove some intermediate files +rm -f DOCS/man/man3/_*_.3 +rm -f DOCS/man/man3/{BLAS_,}SRC_xerbla{_array,}.f.3 %install install -d %{buildroot}%{_mandir}/man3 install -m 0644 DOCS/man/man3/*.3 %{buildroot}%{_mandir}/man3/ -find BLAS/SRC/ -name \*.f -type f -printf "%{_mandir}/man3/%f.3.gz\n" \ - > blasmans -find BLAS/SRC/ -name \*.f -type f -printf "%f\n" \ - | tr 'a-z' 'A-Z' |sed -e 's#\(.*\).F#'%{_mandir}/man3/'\1.3.gz#' \ - >> blasmans -find SRC/ -name \*.f -type f -printf "%{_mandir}/man3/%f.3.gz\n" \ - | grep -v -E 'lsame.f|sceil.f|xerbla.f|xerbla_array.f' \ - | sort -u > lapackmans -find SRC/ -name \*.f -type f -printf "%f\n" \ - | grep -v -E 'sceil.f|xerbla.f|xerbla_array.f' \ - | tr 'a-z' 'A-Z' |sed -e 's#\(.*\).F#'%{_mandir}/man3/'\1.3.gz#' \ - | sort -u >> lapackmans -echo %{_mandir}/man3/SLAMC1.3.gz >> lapackmans -echo %{_mandir}/man3/SLAMC2.3.gz >> lapackmans -echo %{_mandir}/man3/SLAMC3.3.gz >> lapackmans -echo %{_mandir}/man3/SLAMC4.3.gz >> lapackmans -echo %{_mandir}/man3/SLAMC5.3.gz >> lapackmans -echo %{_mandir}/man3/SLAMCH.3.gz >> lapackmans -echo %{_mandir}/man3/DLAMC1.3.gz >> lapackmans -echo %{_mandir}/man3/DLAMC2.3.gz >> lapackmans -echo %{_mandir}/man3/DLAMC3.3.gz >> lapackmans -echo %{_mandir}/man3/DLAMC4.3.gz >> lapackmans -echo %{_mandir}/man3/DLAMC5.3.gz >> lapackmans -echo %{_mandir}/man3/DLAMCH.3.gz >> lapackmans -echo %{_mandir}/man3/SLADIV1.3.gz >> lapackmans -echo %{_mandir}/man3/SLADIV2.3.gz >> lapackmans -echo %{_mandir}/man3/DLADIV1.3.gz >> lapackmans -echo %{_mandir}/man3/DLADIV2.3.gz >> lapackmans -echo %{_mandir}/man3/slamch.f.3.gz >> lapackmans -echo %{_mandir}/man3/slamchf77.f.3.gz >> lapackmans -echo %{_mandir}/man3/dlamch.f.3.gz >> lapackmans -echo %{_mandir}/man3/dlamchf77.f.3.gz >> lapackmans -ln -s SLAMC1.3.gz %{buildroot}/%{_mandir}/man3/SLAMC2.3.gz -ln -s SLAMC1.3.gz %{buildroot}/%{_mandir}/man3/SLAMC4.3.gz -ln -s SLAMC1.3.gz %{buildroot}/%{_mandir}/man3/SLAMC5.3.gz -ln -s SLAMCH.3.gz %{buildroot}/%{_mandir}/man3/SLAMC3.3.gz -ln -s DLAMC1.3.gz %{buildroot}/%{_mandir}/man3/DLAMC2.3.gz -ln -s DLAMC1.3.gz %{buildroot}/%{_mandir}/man3/DLAMC4.3.gz -ln -s DLAMC1.3.gz %{buildroot}/%{_mandir}/man3/DLAMC5.3.gz -ln -s DLAMCH.3.gz %{buildroot}/%{_mandir}/man3/DLAMC3.3.gz -ln -s SLADIV.3.gz %{buildroot}/%{_mandir}/man3/SLADIV1.3.gz -ln -s SLADIV.3.gz %{buildroot}/%{_mandir}/man3/SLADIV2.3.gz -ln -s DLADIV.3.gz %{buildroot}/%{_mandir}/man3/DLADIV1.3.gz -ln -s DLADIV.3.gz %{buildroot}/%{_mandir}/man3/DLADIV2.3.gz -%files -f lapackmans -%defattr(-,root,root) +%fdupes %{buildroot}/%{_mandir}/man3/ -%files -n blas-man -f blasmans -%defattr(-,root,root) +%files +%doc %{_mandir}/man3/ %changelog ++++++ lapack.spec ++++++ --- /var/tmp/diff_new_pack.IUBRqd/_old 2020-10-12 13:46:58.829913182 +0200 +++ /var/tmp/diff_new_pack.IUBRqd/_new 2020-10-12 13:46:58.833913185 +0200 @@ -24,14 +24,12 @@ Group: Development/Libraries/Parallel URL: http://www.netlib.org/lapack/ Source0: http://www.netlib.org/lapack/%{name}-%{version}.tar.gz -Source1: lapack_testing.py Source99: baselibs.conf Patch1: lapack-3.2.2.patch BuildRequires: gcc-fortran -BuildRequires: python3 +BuildRequires: python3-base BuildRequires: update-alternatives Requires(pre): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LAPACK provides routines for solving systems of simultaneous linear @@ -47,9 +45,7 @@ %package -n liblapack3 Summary: LAPACK Shared Library Group: Development/Libraries/Parallel -%if 0%{?suse_version} >= 1120 Requires(pre): update-alternatives -%endif %description -n liblapack3 LAPACK provides routines for solving systems of simultaneous linear @@ -65,9 +61,7 @@ %package -n libblas3 Summary: BLAS Shared Library Group: Development/Libraries/Parallel -%if 0%{?suse_version} >= 1120 Requires(pre): update-alternatives -%endif %description -n libblas3 BLAS (Basic Linear Algebra Subprograms) is a standard library for @@ -157,106 +151,131 @@ Group: Development/Libraries/C and C++ Requires: liblapacke3 = %{version} Provides: lapacke = %{version} -Provides: lapacke-devel-static = %{version} %description -n lapacke-devel LAPACKE headers and development files. %package -n lapacke-devel-static -Summary: LAPACKE development files - static libraries +Summary: LAPACKE static libraries Group: Development/Libraries/C and C++ Requires: lapacke-devel = %{version} %description -n lapacke-devel-static LAPACKE development files - static libraries. +%package -n libcblas3 +Summary: CBLAS Shared Library +Group: Development/Libraries/C and C++ +Requires(pre): update-alternatives +# Only version ever packaged separately +Obsoletes: libcblas3 == 20110120 + +%description -n libcblas3 +This library provides a native C interface to BLAS routines available +at www.netlib.org/blas to facilitate usage of BLAS functionality +for C programmers. + +%package -n cblas-devel +Summary: CBLAS development files +Group: Development/Libraries/C and C++ +Requires: libcblas3 = %{version} +Provides: cblas = %{version} + +%description -n cblas-devel +cblas headers and development files. + +%package -n cblas-devel-static +Summary: CBLAS - static libraries +Group: Development/Libraries/C and C++ +Requires: cblas-devel = %{version} + +%description -n cblas-devel-static +The cblas-devel-static package contains the CBLAS static libraries +for -static linking. You do not need these, unless you link +statically, which is highly discouraged. + + %prep %setup -q %patch1 +sed -i -e '1 s@env python@python3@' lapack_testing.py %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -%global optflags %{optflags} -std=legacy +%global optflags_f %{optflags} -std=legacy case "$RPM_ARCH" in i[0-9]86) PRECFLAGS="-ffloat-store" ;; *) PRECFLAGS="" ;; esac export PRECFLAGS cp make.inc.example make.inc + make cleanlib %{?_smp_mflags} make %{?_smp_mflags} blaslib \ - OPTS="%{optflags} -fPIC" \ - NOOPT="%{optflags} -O0 -fPIC" -mv librefblas.a libblas_pic.a + OPTS="%{optflags_f} -fPIC" \ + NOOPT="%{optflags_f} -O0 -fPIC" mkdir tmp -( cd tmp; ar x ../libblas_pic.a ) +( cd tmp; ar x ../librefblas.a ) gfortran -shared -Wl,-soname=libblas.so.3 -o libblas.so.%{version} tmp/*.o ln -s libblas.so.%{version} libblas.so rm -rf tmp -make cleanlib %{?_smp_mflags} -make %{?_smp_mflags} blaslib \ - OPTS="%{optflags}" \ - NOOPT="%{optflags} -O0" + make blas_testing \ - OPTS="%{optflags} $PRECFLAGS" \ - NOOPT="%{optflags} $PRECFLAGS -O0" + OPTS="%{optflags_f} $PRECFLAGS" \ + NOOPT="%{optflags_f} $PRECFLAGS -O0" if grep -B15 -A15 FAIL BLAS/*.out; then echo echo "blas_testing FAILED" - echo false -else - true # No failures fi mv librefblas.a libblas.a -make cleanlib %{?_smp_mflags} + +make %{?_smp_mflags} cblaslib \ + CFLAGS="%{optflags} -fPIC -DADD_ " \ + LINKER=gfortran +mkdir tmp +( cd tmp; ar x ../libcblas.a ) +gfortran -shared -Wl,-soname=libcblas.so.3 -o libcblas.so.%{version} tmp/*.o -L. -lblas +ln -s libcblas.so.%{version} libcblas.so +rm -rf tmp +make %{?_smp_mflags} cblas_testing \ + CFLAGS="%{optflags} -fPIC" \ + LINKER=gfortran +grep -B15 -A15 FAIL TESTING/*.out && false + make %{?_smp_mflags} lapacklib \ - OPTS="%{optflags} -fPIC" \ - NOOPT="%{optflags} -O0 -fPIC" -mv liblapack.a liblapack_pic.a + OPTS="%{optflags_f} -fPIC" \ + NOOPT="%{optflags_f} -O0 -fPIC" mkdir tmp -( cd tmp; ar x ../liblapack_pic.a ) +( cd tmp; ar x ../liblapack.a ) gfortran -shared -Wl,-soname=liblapack.so.3 -o liblapack.so.%{version} tmp/*.o -L. -lblas ln -s liblapack.so.%{version} liblapack.so rm -rf tmp -make cleanlib %{?_smp_mflags} -make %{?_smp_mflags} lapacklib \ - OPTS="%{optflags}" \ - NOOPT="%{optflags} -O0" -ln -s libblas.a librefblas.a + cd LAPACKE make %{?_smp_mflags} lapacke \ CFLAGS="%{optflags} -fPIC -DADD_ -DHAVE_LAPACK_CONFIG_H -DLAPACK_COMPLEX_STRUCTURE" \ LINKER=gfortran -mv ../liblapacke.a liblapacke_pic.a mkdir tmp -( cd tmp; ar x ../liblapacke_pic.a ) +( cd tmp; ar x ../../liblapacke.a ) gfortran -shared -Wl,-soname=liblapacke.so.3 -o liblapacke.so.%{version} tmp/*.o ln -s liblapacke.so.%{version} liblapacke.so rm -rf tmp -make cleanlib %{?_smp_mflags} -make %{?_smp_mflags} lapacke \ - CFLAGS="%{optflags} -DADD_ -DHAVE_LAPACK_CONFIG_H -DLAPACK_COMPLEX_STRUCTURE" -mv ../liblapacke.a liblapacke.a -# fix wrong end of line -sed -i 's/\r//' LICENSE cd .. -cp %{SOURCE1} . + make lapack_testing \ - OPTS="%{optflags} $PRECFLAGS" \ - NOOPT="%{optflags} $PRECFLAGS -O0" + OPTS="%{optflags_f} $PRECFLAGS" \ + NOOPT="%{optflags_f} $PRECFLAGS -O0" if grep -B15 -A15 FAIL TESTING/*.out; then echo echo "lapack_testing FAILED" - echo false -else - true # No failures fi %install install -d %{buildroot}/%{_libdir} install -d %{buildroot}/%{_sysconfdir}/alternatives +install -d %{buildroot}/%{_includedir} ## BLAS install -d %{buildroot}/%{_libdir}/blas install -m 644 libblas.a %{buildroot}/%{_libdir} @@ -266,6 +285,15 @@ # dummy target for update-alternatives ln -s blas/libblas.so.%{version} %{buildroot}/%{_libdir}/libblas.so.3 ln -s libblas.so.%{version} %{buildroot}/%{_sysconfdir}/alternatives/libblas.so.3 +## CBLAS +install -m 644 CBLAS/include/*.h %{buildroot}/%{_includedir} +install -m 644 libcblas.a %{buildroot}/%{_libdir} +install -m 755 libcblas.so.%{version} %{buildroot}/%{_libdir}/blas +ln -s libcblas.so.%{version} %{buildroot}/%{_libdir}/blas/libcblas.so.3 +ln -s blas/libcblas.so.%{version} %{buildroot}/%{_libdir}/libcblas.so +# dummy target for update-alternatives +ln -s blas/libcblas.so.%{version} %{buildroot}/%{_libdir}/libcblas.so.3 +ln -s libcblas.so.%{version} %{buildroot}/%{_sysconfdir}/alternatives/libcblas.so.3 ## LAPACK install -d %{buildroot}/%{_libdir}/lapack install -m 644 liblapack.a %{buildroot}/%{_libdir} @@ -276,10 +304,9 @@ ln -s lapack/liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so.3 ln -s liblapack.so.%{version} %{buildroot}/%{_sysconfdir}/alternatives/liblapack.so.3 ## LAPACKE -install -d %{buildroot}/%{_includedir} cd LAPACKE install -m 644 include/*.h %{buildroot}/%{_includedir} -install -m 644 liblapacke.a %{buildroot}/%{_libdir} +install -m 644 ../liblapacke.a %{buildroot}/%{_libdir} install -m 755 liblapacke.so.%{version} %{buildroot}/%{_libdir} ln -s liblapacke.so.%{version} %{buildroot}/%{_libdir}/liblapacke.so.3 ln -s liblapacke.so.%{version} %{buildroot}/%{_libdir}/liblapacke.so @@ -323,69 +350,87 @@ fi fi +%post -n libcblas3 +%{_sbindir}/update-alternatives --install \ + %{_libdir}/libcblas.so.3 libcblas.so.3 %{_libdir}/blas/libcblas.so.3 50 +/sbin/ldconfig + +%preun -n libcblas3 +if [ "$1" = 0 ] ; then + %{_sbindir}/update-alternatives --remove libcblas.so.3 %{_libdir}/blas/libcblas.so.3 +fi + +%postun -n libcblas3 -p /sbin/ldconfig + +%posttrans -n libcblas3 +if [ "$1" = 0 ] ; then + if ! [ -f %{_libdir}/libcblas.so.3 ] ; then + "%{_sbindir}/update-alternatives" --auto libcblas.so.3 + fi +fi + %post -n liblapacke3 -p /sbin/ldconfig %postun -n liblapacke3 -p /sbin/ldconfig %files -n liblapack3 -%defattr(-,root,root) %doc README.md %license LICENSE %dir %{_libdir}/lapack %{_libdir}/lapack/liblapack.so.%{version} %{_libdir}/lapack/liblapack.so.3 -%if 0%{?suse_version} >= 1120 %ghost %{_libdir}/liblapack.so.3 %ghost %{_sysconfdir}/alternatives/liblapack.so.3 -%else -%{_libdir}/liblapack.so.3 -%{_sysconfdir}/alternatives/liblapack.so.3 -%endif %files -n libblas3 -%defattr(-,root,root) %doc README.md %license LICENSE %dir %{_libdir}/blas %{_libdir}/blas/libblas.so.%{version} %{_libdir}/blas/libblas.so.3 -%if 0%{?suse_version} >= 1120 %ghost %{_libdir}/libblas.so.3 %ghost %{_sysconfdir}/alternatives/libblas.so.3 -%else -%{_libdir}/libblas.so.3 -%{_sysconfdir}/alternatives/libblas.so.3 -%endif %files devel -%defattr(-,root,root) %{_libdir}/liblapack.so %files devel-static -%defattr(-,root,root) %{_libdir}/liblapack.a %files -n blas-devel -%defattr(-,root,root) %{_libdir}/libblas.so %files -n blas-devel-static -%defattr(-,root,root) %{_libdir}/libblas.a %files -n liblapacke3 -%defattr(-,root,root,-) %{_libdir}/liblapacke.so.%{version} %{_libdir}/liblapacke.so.3 %files -n lapacke-devel -%defattr(-,root,root,-) -%doc LAPACKE/LICENSE LAPACKE/README +%doc LAPACKE/README +%license LAPACKE/LICENSE %{_libdir}/liblapacke.so -%{_includedir}/*.h +%{_includedir}/lapack*.h %files -n lapacke-devel-static -%defattr(-,root,root,-) %{_libdir}/liblapacke.a +%files -n libcblas3 +%doc README.md +%license LICENSE +%dir %{_libdir}/blas +%{_libdir}/blas/libcblas.so.%{version} +%{_libdir}/blas/libcblas.so.3 +%ghost %{_libdir}/libcblas.so.3 +%ghost %{_sysconfdir}/alternatives/libcblas.so.3 + +%files -n cblas-devel +%doc CBLAS/README +%{_libdir}/libcblas.so +%{_includedir}/cblas*.h + +%files -n cblas-devel-static +%{_libdir}/libcblas.a + %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.IUBRqd/_old 2020-10-12 13:46:58.861913196 +0200 +++ /var/tmp/diff_new_pack.IUBRqd/_new 2020-10-12 13:46:58.861913196 +0200 @@ -1,5 +1,6 @@ liblapack3 libblas3 +libcblas3 liblapacke3 lapack-devel requires -lapack-<targettype> @@ -7,6 +8,9 @@ blas-devel requires -blas-<targettype> requires "libblas3-<targettype> = <version>" +cblas-devel + requires -cblas-<targettype> + requires "libcblas3-<targettype> = <version>" lapacke-devel requires -lapacke-<targettype> requires "liblapacke3-<targettype> = <version>"
