[med-svn] [Git][med-team/sra-sdk][master] sra-sdk 3.0.3+dfsg-6: Fully expand libngs-java.links.in (#1039621).

Aaron M. Ucko (@ucko) gitlab at salsa.debian.org
Wed Jun 28 03:20:25 BST 2023



Aaron M. Ucko pushed to branch master at Debian Med / sra-sdk


Commits:
40334dd5 by Aaron M. Ucko at 2023-06-27T22:14:42-04:00
sra-sdk 3.0.3+dfsg-6: Fully expand libngs-java.links.in (#1039621).

Account for its use of DEB_HOST_MULTIARCH, with accidentally different
delimiters in source and destination paths.  (Closes: #1039621.)

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+sra-sdk (3.0.3+dfsg-6) unstable; urgency=high
+
+  * debian/rules: Expand $(DEB_HOST_MULTIARCH) in libngs-java.links.in.
+    (Closes: #1039621.)
+
+ -- Aaron M. Ucko <ucko at debian.org>  Tue, 27 Jun 2023 22:14:41 -0400
+
 sra-sdk (3.0.3+dfsg-5) unstable; urgency=medium
 
   * Limit libngs-java to those architectures where libs are available


=====================================
debian/rules
=====================================
@@ -152,7 +152,10 @@ override_dh_prep:
 execute_before_dh_link:
 	# Putting the upstream version number (without the dfsg part) at the end of
 	# symlink source in the -jni package.
-	sed 's/\(#STRIPPED_UPSTREAM_VERSION#\)/\1$(DEB_VERSION_UPSTREAM)/; s/#STRIPPED_UPSTREAM_VERSION#\(.*\)+dfsg[0-9]*/\1/' debian/libngs-jni.links.in > debian/libngs-jni.links
+	sed -e 's/\(#STRIPPED_UPSTREAM_VERSION#\)/\1$(DEB_VERSION_UPSTREAM)/' \
+	    -e 's/#STRIPPED_UPSTREAM_VERSION#\(.*\)+dfsg[0-9]*/\1/' \
+	    -e 's/\$$[({]DEB_HOST_MULTIARCH[)}]/$(DEB_HOST_MULTIARCH)/g' \
+	    debian/libngs-jni.links.in > debian/libngs-jni.links
 
 # require network, not automatically run
 # use it when the pom file must be re-downloaded from maven repo



View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/40334dd5d3d5de2b4801fbcc8dfef1a93811db07

-- 
View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/40334dd5d3d5de2b4801fbcc8dfef1a93811db07
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/20230628/19c2945b/attachment-0001.htm>


More information about the debian-med-commit mailing list