Lintian Fixes - clblas

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 303d106..ffc4362 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -123,7 +123,7 @@ clblas (2.8-2) unstable; urgency=medium
   * Revert involuntary patching of source tree.
   * Fix FTBFS due to missing dependency on Python.
   * d/p: add add-missing-stdlib-include.patch, fixes FTBFS error due to
-     missing inclusion of stdlib. 
+     missing inclusion of stdlib.
 
  -- Ghislain Antony Vaillant <ghisvail@gmail.com>  Wed, 28 Oct 2015 15:44:38 +0000
 
@@ -181,7 +181,7 @@ clblas (2.6-1) unstable; urgency=medium
 clblas (2.4-3) unstable; urgency=medium
 
   * Add gbp.conf file.
-  * Allow build with alternative OpenCL implementation. 
+  * Allow build with alternative OpenCL implementation.
 
  -- Ghislain Antony Vaillant <ghisvail@gmail.com>  Thu, 30 Jul 2015 11:49:05 +0100
 
diff --git a/debian/compat b/debian/compat
index f599e28..b1bd38b 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-10
+13
diff --git a/debian/control b/debian/control
index ff3c4f3..973d898 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Ghislain Antony Vaillant <ghisvail@gmail.com>
 Section: science
 Priority: optional
 Build-Depends: cmake,
-               debhelper (>= 10),
+               debhelper (>= 13~),
                libblas-dev,
                libboost-program-options-dev,
                ocl-icd-opencl-dev | opencl-dev,
@@ -23,8 +23,8 @@ Depends: ${misc:Depends},
          ${shlibs:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Description: OpenCL BLAS library
- This library provides an implementation of the Basic Linear Algebra 
- Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
+ This library provides an implementation of the Basic Linear Algebra
+ Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU
  hardware.
  .
  This package provides the shared library.
@@ -38,8 +38,8 @@ Depends: ${misc:Depends},
          ocl-icd-opencl-dev | opencl-dev
 Suggests: libclblas-doc
 Description: development files for clBLAS
- This library provides an implementation of the Basic Linear Algebra 
- Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
+ This library provides an implementation of the Basic Linear Algebra
+ Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU
  hardware.
  .
  This package provides the development files.
@@ -51,8 +51,8 @@ Section: doc
 Depends: ${misc:Depends},
          libjs-mathjax
 Description: documentation for clBLAS
- This library provides an implementation of the Basic Linear Algebra 
- Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
+ This library provides an implementation of the Basic Linear Algebra
+ Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU
  hardware.
  .
  This package provides the documentation.
@@ -68,8 +68,8 @@ Breaks: libclblas-bin (<< 2.10-4)
 Provides: libclblas-bin
 Replaces: libclblas-bin (<< 2.10-4)
 Description: client program for clBLAS
- This library provides an implementation of the Basic Linear Algebra 
- Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
+ This library provides an implementation of the Basic Linear Algebra
+ Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU
  hardware.
  .
  This package provides the client program.
diff --git a/debian/rules b/debian/rules
index ebb23dc..62aeacb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,6 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
 export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 # Fixes FTBFS on mips64* architectures. See #805893.
 DEB_HOST_ARCH := $(shell dpkg-architecture --query DEB_HOST_ARCH)
diff --git a/debian/tests/build-examples b/debian/tests/build-examples
index 99493b5..33a9420 100755
--- a/debian/tests/build-examples
+++ b/debian/tests/build-examples
@@ -5,17 +5,17 @@
 
 set -e
 
-# Presence of $ADTTMP implies that someone will handle cleanup for us, so we
+# Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we
 # can avoid duplicating the effort (signal handling, etc.) here.
-if [ -z "$ADTTMP" ]
+if [ -z "$AUTOPKGTEST_TMP" ]
 then
-        echo "Required envvar \"$ADTTMP\"is not set" >&2
+        echo "Required envvar \"$AUTOPKGTEST_TMP\"is not set" >&2
         exit 1
 fi
 
 # Copy example source code.
-cp -a /usr/share/doc/libclblas-doc/examples/* "$ADTTMP"
-cd "$ADTTMP"
+cp -a /usr/share/doc/libclblas-doc/examples/* "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP"
 
 # Create the CMake project.
 cat <<EOF > CMakeLists.txt
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7902c93
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/clMathLibraries/clBLAS/issues
+Bug-Submit: https://github.com/clMathLibraries/clBLAS/issues/new
+Repository-Browse: https://github.com/clMathLibraries/clBLAS

Run locally

More details

Full run details

Historical runs