You are correct.
This was fixed in master.

On Fri, Jun 15, 2012 at 2:23 AM, George Alexander
<george.alexan...@envision-rx.com> wrote:
> Hi everyone, I was building an rpm the other day of the latest release (it
> looks great, can't wait to try it out) and noticed a lil problem: It doesn't
> like "-" in version names...
>
> [root@server ~]# rpmbuild -tb openvpn-2.3-alpha1.tar.gz
> error: line 19: Illegal char '-' in version: Version:        2.3-alpha1
>
> Solution is simple -- untar, change directory name, change version in .spec
> file, re-tar/gz, re-run rpmbuild:
> [root@server ~]# tar zxf openvpn-2.3-alpha1.tar.gz
> [root@server ~]# mv openvpn-2.3-alpha1 openvpn-2.3_alpha1
> [root@server ~]# sed -i "s/2\.3-alpha/2\.3_alpha/"
> openvpn-2.3_alpha1/openvpn.spec
> [root@server ~]# tar czf openvpn-2.3_alpha1.tar.gz openvpn-2.3_alpha1/
> [root@server ~]# rpmbuild -tb openvpn-2.3_alpha1.tar.gz
>
> Now it's good to go for the rpmbuild -tb.  I guess I'm the only one building
> this for CentOS -- I didn't see anything on google about anyone else having
> this problem.  Anyway I think it'd be nice for 2.3_alpha2 to not have a
> dash, if that fits with your dispositions :)
> -George
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Openvpn-devel mailing list
> Openvpn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-devel
>

Reply via email to