[Pkg-samba-maint] [Git][samba-team/samba][master] 2 commits: d/rules: fix python3-talloc.symbols generation to avoid full debian version...

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Thu Jul 17 11:57:48 BST 2025



Michael Tokarev pushed to branch master at Debian Samba Team / samba


Commits:
8d11da01 by Michael Tokarev at 2025-07-15T22:01:47+03:00
d/rules: fix python3-talloc.symbols generation to avoid full debian version string in the symbols file

The resulting version is everything up to the first "-" or "+"
char, which is +dfsg or -debian_revision.  The result is a more
correct .symbols file, with no other changes.

Also simplify this place a little bit.

- - - - -
b0dc036b by Michael Tokarev at 2025-07-17T13:56:39+03:00
update changelog; upload version 4.22.3+dfsg-4 to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+samba (2:4.22.3+dfsg-4) unstable; urgency=medium
+
+  * fix python3-talloc.symbols generation to not have -debian_revision
+    or +dfsg/+samba suffix in the version number - just the epoch if any
+    and the upstream version (fix lintian error)
+
+ -- Michael Tokarev <mjt at tls.msk.ru>  Thu, 17 Jul 2025 13:52:35 +0300
+
 samba (2:4.22.3+dfsg-3) unstable; urgency=medium
 
   [ Sascha Lucas ]


=====================================
debian/rules
=====================================
@@ -370,8 +370,10 @@ override_dh_makeshlibs:
 	{ \
 	   suff=$$(${DEB_HOST_MULTIARCH}-python3-config --extension-suffix | tr _ -); \
 	   SUFF=$$(echo "$${suff%.so}" | tr a-z- A-Z_); \
+	   SYM="PYTALLOC_UTIL$${SUFF}_${talloc-upstream-version}"; \
+	   deb_ver="${talloc-version}"; \
 	   echo "libpytalloc-util$${suff}.2 #PACKAGE# #MINVER#"; \
-	   echo " PYTALLOC_UTIL$${SUFF}_${talloc-upstream-version}@PYTALLOC_UTIL$${SUFF}_${talloc-upstream-version} ${talloc-version}"; \
+	   echo " $${SYM}@$${SYM} $${deb_ver%%[-+]*}"; \
 	   cat debian/python3-talloc.symbols.in; \
 	} > debian/python3-talloc.symbols
 



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/1da584e8c5bf990c3a39a0306c7ba34ac32154ab...b0dc036b076c1b52bf86aaee7dc8dcc074cce0b0

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/1da584e8c5bf990c3a39a0306c7ba34ac32154ab...b0dc036b076c1b52bf86aaee7dc8dcc074cce0b0
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/pkg-samba-maint/attachments/20250717/63ab5a47/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list