Hi Clay!

> When attempting to build from the latest 1.5-dev18 haproxy.spec
> file I receive the following error:
> 
> # rpmbuild -bb haproxy.spec
> error: line 3: Illegal char '-' in: Version: 1.5-dev18

I see. "Version" doesn't like the hyphen [1]. Could we put the dev18
in "Release" instead? This has been suggested here [2].

Clay, can you give this a try (see the patch above)? Please also
check that you see the "dev18" where you would expect it.


Regards,
Lukas

[1] http://lists.opensuse.org/archive/opensuse-packaging/2011-08/msg00088.html
[2] http://www.redhat.com/archives/rpm-list/2005-April/msg00012.html


diff --git a/examples/haproxy.spec b/examples/haproxy.spec
index c0565ee..9273008 100644
--- a/examples/haproxy.spec
+++ b/examples/haproxy.spec
@@ -1,7 +1,7 @@
 Summary: HA-Proxy is a TCP/HTTP reverse proxy for high availability 
environments
 Name: haproxy
-Version: 1.5-dev18
-Release: 1
+Version: 1.5
+Release: dev18
 License: GPL
 Group: System Environment/Daemons
 URL: http://haproxy.1wt.eu/                                      

Reply via email to