[med-svn] [Git][med-team/libhmsbeagle][master] 5 commits: Fix dankling symlink

Andreas Tille gitlab at salsa.debian.org
Thu Jan 17 19:12:27 GMT 2019


Andreas Tille pushed to branch master at Debian Med / libhmsbeagle


Commits:
02513ff0 by Andreas Tille at 2019-01-17T17:28:10Z
Fix dankling symlink

- - - - -
682ecb78 by Andreas Tille at 2019-01-17T17:28:24Z
debhelper 12

- - - - -
d9e1be29 by Andreas Tille at 2019-01-17T17:28:38Z
Standards-Version: 4.3.0

- - - - -
94305801 by Andreas Tille at 2019-01-17T18:40:45Z
Fix expression to obtain lib file

- - - - -
cd6f5444 by Andreas Tille at 2019-01-17T18:44:08Z
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/compat
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+libhmsbeagle (3.1.2+dfsg-3) unstable; urgency=medium
+
+  * Fix dankling symlink
+    Closes: #919582
+  * debhelper 12
+  * Standards-Version: 4.3.0
+
+ -- Andreas Tille <tille at debian.org>  Thu, 17 Jan 2019 18:36:10 +0100
+
 libhmsbeagle (3.1.2+dfsg-2) unstable; urgency=medium
 
   * Fix broken symlink


=====================================
debian/compat
=====================================
@@ -1 +1 @@
-11
+12


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Uploaders: Tim Booth <tbooth at ceh.ac.uk>,
            Andreas Tille <tille at debian.org>
 Section: libs
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper (>= 12~),
                doxygen,
                graphviz,
                javahelper,
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 11~),
                ocl-icd-opencl-dev | opencl-dev,
                pocl-opencl-icd [amd64] | opencl-icd [amd64],
                clinfo
-Standards-Version: 4.2.1
+Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/libhmsbeagle
 Vcs-Git: https://salsa.debian.org/med-team/libhmsbeagle.git
 Homepage: https://github.com/beagle-dev/beagle-lib


=====================================
debian/rules
=====================================
@@ -9,7 +9,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 include /usr/share/dpkg/default.mk
 
-lib := $(DEB_SOURCE)1v5
+lib := $(shell grep Package: debian/control | grep -v -e "$(DEB_SOURCE)-" | sed 's/Package: \+//')
 use_sse := $(shell if [ `dpkg-architecture -qDEB_BUILD_ARCH` = amd64 ] ; then echo yes ; else echo no ; fi)
 BUILDGNUTYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 BUILDARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
@@ -68,4 +68,5 @@ endif
 
 override_dh_link:
 	dh_link
-	dh_link -plibhmsbeagle-dev usr/lib/$(BUILDGNUTYPE)/libhmsbeagle-opencl.so.21 usr/lib/$(BUILDGNUTYPE)/libhmsbeagle-opencl.so
+	opencllib=`find debian/$(lib)/usr/lib -name "libhmsbeagle-opencl.so.*" | sed 's?debian/$(lib)/??' | grep -v '\.0$$'` ; \
+	dh_link -plibhmsbeagle-dev $${opencllib} usr/lib/$(BUILDGNUTYPE)/libhmsbeagle-opencl.so



View it on GitLab: https://salsa.debian.org/med-team/libhmsbeagle/compare/83a87db19a1223f5415bafc1ca7302bcab90d152...cd6f544485f252216135b2f31ab994830c3310b6

-- 
View it on GitLab: https://salsa.debian.org/med-team/libhmsbeagle/compare/83a87db19a1223f5415bafc1ca7302bcab90d152...cd6f544485f252216135b2f31ab994830c3310b6
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190117/8fc71547/attachment-0001.html>


More information about the debian-med-commit mailing list