Andreas Tille pushed to branch master at Debian Med / community / 
package_template


Commits:
451220f0 by Andreas Tille at 2025-12-24T14:48:36+01:00
Take over Dversionmangle and Repacksuffix

- - - - -


1 changed file:

- convert-watch5


Changes:

=====================================
convert-watch5
=====================================
@@ -26,6 +26,11 @@ case "$homepage" in
     ;;
 esac
 
+dversionmangle=$(grep -i 'dversionmangle[[:space:]]*=' debian/watch | sed 
's/^.*dversionmangle[[:space:]]*=[[:space:]]*\([^,]\+\),.*/Dversion-Mangle: 
\1/')
+repacksuffix=$(grep -i 'repacksuffix[[:space:]]*=' debian/watch | sed 
's/^.*repacksuffix[[:space:]]*=[[:space:]]*\([^,]\+\),.*/Repack-Suffix: \1/')
+#echo "$dversionmangle"
+#echo "$repacksuffix"
+
 use_tags=0
 
 response=$(curl -s -o /dev/null -w "%{http_code}" 
"https://api.github.com/repos/$owner/$project/tags";)
@@ -71,3 +76,10 @@ Mode: git
 Git-Pretty: 0.0~git%cd.%h
 EOF
 fi
+
+if [ "$dversionmangle" != "" ] ; then
+  echo $dversionmangle >> debian/watch
+fi
+if [ "$repacksuffix" != "" ] ; then
+  echo $repacksuffix >> debian/watch
+fi



View it on GitLab: 
https://salsa.debian.org/med-team/community/package_template/-/commit/451220f0edbe6cdc937d1b3bd605f5198d0d5605

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/community/package_template/-/commit/451220f0edbe6cdc937d1b3bd605f5198d0d5605
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to