On 05/06/2013 11:40 AM, Thomas Heil wrote:
Hi Clayton,


On 06.05.2013 17:39, Clayton Keller wrote:
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

What was the source of this spec?

Source of the spec was examples directory from http://haproxy.1wt.eu/download/1.5/src/devel/haproxy-1.5-dev18.tar.gz.


I have attached a patch which allowed me to properly execute the
rpmbuild. Unfortunately, this requires more static related references
in the file which would need modified with each releasee.

I'm not sure if you'd like to include these modifications at this time
or not. Or, if there is a better way to handle this I'd be happy to do
so in another way.

Clay

If you dont have a problem with it, maybe you try
--
https://github.com/heil/centos/blob/master/packages/rpmbuild/SPECS/haproxy-devel.spec
--

In this spec also the latest patches are included, so you can add or
remove some if needed.

I am going to test Lukas' recommendation in the next message of the thread. I was actually going to go this route prior to the patch I included.


cheers
thomas



Thanks for the input.

Clay


Reply via email to