commit lapack for openSUSE:Factory
Hello community, here is the log from the commit of package lapack for openSUSE:Factory checked in at 2013-10-30 15:44:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lapack (Old) and /work/SRC/openSUSE:Factory/.lapack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lapack" Changes: -------- --- /work/SRC/openSUSE:Factory/lapack/lapack.changes 2013-03-22 11:25:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lapack.new/lapack.changes 2013-10-30 15:44:09.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Oct 29 12:53:29 UTC 2013 - lnt-sysadmin@lists.lrz.de + +- packaged symlinks created by update-alternative as %ghost files +- removed quotes from update-alternative command to silence rpmlint warning + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lapack.spec ++++++ --- /var/tmp/diff_new_pack.Eq1QlD/_old 2013-10-30 15:44:10.000000000 +0100 +++ /var/tmp/diff_new_pack.Eq1QlD/_new 2013-10-30 15:44:10.000000000 +0100 @@ -311,14 +311,17 @@ %install install -d %{buildroot}/%{_libdir} install -d %{buildroot}/%{_includedir} +install -d %{buildroot}/%{_sysconfdir}/alternatives install -m 644 libblas.a %{buildroot}/%{_libdir} install -m 644 libblas_pic.a %{buildroot}/%{_libdir} install -m 644 liblapack.a %{buildroot}/%{_libdir} install -m 644 liblapack_pic.a %{buildroot}/%{_libdir} install -m 755 libblas.so.%{version} %{buildroot}/%{_libdir} +ln -s libblas.so.%{version} %{buildroot}/%{_sysconfdir}/alternatives/libblas.so.3 ln -s libblas.so.%{version} %{buildroot}/%{_libdir}/libblas.so.3 ln -s libblas.so.%{version} %{buildroot}/%{_libdir}/libblas.so install -m 755 liblapack.so.%{version} %{buildroot}/%{_libdir} +ln -s liblapack.so.%{version} %{buildroot}/%{_sysconfdir}/alternatives/liblapack.so.3 ln -s liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so.3 ln -s liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so cd lapacke @@ -369,25 +372,25 @@ ln -s DLAMCH.3.gz %{buildroot}/%{_mandir}/man3/DLAMC3.3.gz %post -n libblas3 -"%_sbindir/update-alternatives" --install \ +%_sbindir/update-alternatives --install \ %{_libdir}/libblas.so.3 libblas.so.3 %{_libdir}/libblas.so.%{version} 50 /sbin/ldconfig %preun -n libblas3 if [ "$1" = 0 ] ; then - "%_sbindir/update-alternatives" --remove libblas.so.3 %{_libdir}/libblas.so.%{version} + %_sbindir/update-alternatives --remove libblas.so.3 %{_libdir}/libblas.so.%{version} fi %postun -n libblas3 -p /sbin/ldconfig %post -n liblapack3 -"%_sbindir/update-alternatives" --install \ +%_sbindir/update-alternatives --install \ %{_libdir}/liblapack.so.3 liblapack.so.3 %{_libdir}/liblapack.so.%{version} 50 /sbin/ldconfig %preun -n liblapack3 if [ "$1" = 0 ] ; then - "%_sbindir/update-alternatives" --remove liblapack.so.3 %{_libdir}/liblapack.so.%{version} + %_sbindir/update-alternatives --remove liblapack.so.3 %{_libdir}/liblapack.so.%{version} fi %postun -n liblapack3 -p /sbin/ldconfig @@ -399,13 +402,25 @@ %defattr(-,root,root) %doc LICENSE README %{_libdir}/liblapack.so.%{version} +%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 LICENSE README %{_libdir}/libblas.so.%{version} +%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) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de