Package: src:binutils-arm-none-eabi
Version: 17
Severity: serious
Tags: sid bookworm

setting deb_upstream_version in debian/rules fails:

$ echo 2.39-1+17 | cut -d. -f1-3

2.39-1+17


That should work as well:

$ echo 2.39-1ubuntu1+17ubuntu1 | cut -d. -f1-3

2.39-1ubuntu1+17ubuntu1


using | sed 's/-.*$//' instead of the cut command should work in both cases.

Reply via email to