Wireshark-dev: Re: [Wireshark-dev] rpm-build on SuSE 11.3 fails with "new version string"
From: João Valverde <joao.valverde@xxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Apr 2016 10:04:33 +0100
The problem is also present with old version string for automated builds.

How should this string be sanitized for RPM? Is there some best practice?

On 22-04-2016 09:33, Anders Broman wrote:
tardir=wireshark-2.1.0-git && tar --format=ustar -chf - "$tardir" |
bzip2 -9 -c >wireshark-2.1.0-git.tar.bz2

{ test ! -d wireshark-2.1.0-git || { find wireshark-2.1.0-git -type d !
-perm -200 -exec chmod u+w {} ';' && rm -fr wireshark-2.1.0-git; }; }

error: line 28: Illegal char '-' in version: Version:  2.1.0-git

make: *** [rpm-package] Error 1



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe