r43866 - in /packages/openblas/trunk/debian: README.Debian changelog control libopenblas-base.postinst libopenblas-base.prerm

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Sun Sep 4 21:20:25 UTC 2011


Author: sylvestre
Date: Sun Sep  4 21:20:25 2011
New Revision: 43866

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=43866
Log:
  * Rename the reference libblas.so.3gf to libblas.so.3

Modified:
    packages/openblas/trunk/debian/README.Debian
    packages/openblas/trunk/debian/changelog
    packages/openblas/trunk/debian/control
    packages/openblas/trunk/debian/libopenblas-base.postinst
    packages/openblas/trunk/debian/libopenblas-base.prerm

Modified: packages/openblas/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/README.Debian?rev=43866&op=diff
==============================================================================
--- packages/openblas/trunk/debian/README.Debian (original)
+++ packages/openblas/trunk/debian/README.Debian Sun Sep  4 21:20:25 2011
@@ -3,10 +3,10 @@
 ===============================================================================
 
 BLAS:
-update-alternatives --config libblas.so.3gf
+update-alternatives --config libblas.so.3
 
 LAPACK:
-update-alternatives --config liblapack.so.3gf 
+update-alternatives --config liblapack.so.3
 
 More information are available here:
 http://wiki.debian.org/DebianScience/LinearAlgebraLibraries

Modified: packages/openblas/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/changelog?rev=43866&op=diff
==============================================================================
--- packages/openblas/trunk/debian/changelog (original)
+++ packages/openblas/trunk/debian/changelog Sun Sep  4 21:20:25 2011
@@ -1,3 +1,9 @@
+openblas (0.1alpha2.2-4~exp1) experimental; urgency=low
+
+  * Rename the reference libblas.so.3gf to libblas.so.3
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Sat, 03 Sep 2011 20:24:39 +0200
+
 openblas (0.1alpha2.2-3) unstable; urgency=low
 
   * Same player try again: the lib has different names with build with the

Modified: packages/openblas/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/control?rev=43866&op=diff
==============================================================================
--- packages/openblas/trunk/debian/control (original)
+++ packages/openblas/trunk/debian/control Sun Sep  4 21:20:25 2011
@@ -13,8 +13,8 @@
 Section: libs
 Architecture: amd64 i386 ia64 powerpc powerpcspe ppc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 sparc
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: libblas.so.3gf
-Suggests: ${libs:Suggests}, liblapack3gf
+Provides: libblas.so.3
+Suggests: ${libs:Suggests}, liblapack3
 Description: Optimized BLAS (linear algebra) library based on GotoBLAS2
  OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
  .
@@ -30,7 +30,7 @@
 Section: libdevel
 Architecture: amd64 i386 ia64 powerpc powerpcspe ppc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 sparc
 Depends: libopenblas-base (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: libblas-3gf.so
+Provides: libblas.so
 Suggests: liblapack-dev
 Description: Optimized BLAS (linear algebra) library based on GotoBLAS2
  OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

Modified: packages/openblas/trunk/debian/libopenblas-base.postinst
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/libopenblas-base.postinst?rev=43866&op=diff
==============================================================================
--- packages/openblas/trunk/debian/libopenblas-base.postinst (original)
+++ packages/openblas/trunk/debian/libopenblas-base.postinst Sun Sep  4 21:20:25 2011
@@ -2,8 +2,9 @@
 
 set -e
 
-update-alternatives --install /usr/lib/libblas.so.3gf libblas.so.3gf \
-	/usr/lib/openblas-base/libopenblas.so.0 40
+update-alternatives --install /usr/lib/libblas.so.3 libblas.so.3 \
+	/usr/lib/openblas-base/libopenblas.so.0 40 \
+    --slave /usr/lib/libblas.so.3gf libblas.so.3gf /usr/lib/openblas-base/libopenblas.so.0 
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.

Modified: packages/openblas/trunk/debian/libopenblas-base.prerm
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/libopenblas-base.prerm?rev=43866&op=diff
==============================================================================
--- packages/openblas/trunk/debian/libopenblas-base.prerm (original)
+++ packages/openblas/trunk/debian/libopenblas-base.prerm Sun Sep  4 21:20:25 2011
@@ -1,10 +1,15 @@
 #!/bin/sh
 
 set -e
+if [ "$1" = "upgrade" ]
+then
+# Remove the old declaration
+    update-alternatives --remove-all libblas.so.3gf
+fi
 
 if [ "$1" != "upgrade" ]
 then
-    update-alternatives --remove libblas.so.3gf \
+    update-alternatives --remove libblas.so.3 \
     /usr/lib/openblas-base/libopenblas.so.0
 fi
 




More information about the debian-science-commits mailing list