FS#3024 - spec file buggy

Attached to Project: OpenTTD
Opened by maxut (maxut) - Thursday, 09 July 2009, 13:16 GMT
Last edited by Remko Bijker (Rubidium) - Wednesday, 05 August 2009, 23:30 GMT
Type Bug
Category Build system
Status Closed
Assigned To No-one
Operating System Linux
Severity Low
Priority Normal
Reported Version 0.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


i tried to compile openttd.0.7.1 by using spec file. but no luck
i have checked "openttd-0.7.1/os/rpm/openttd.spec" file and it seems that it is openttd-0.7.0 spec file.
i have edited that spec file and i had remove the lines which starts "#" character, after that could compile it.

# uname -a
Linux localhost.localdomain #1 SMP Mon May 11 07:04:55 EDT 2009 i686 i686 i386 GNU/Linux
# cat /etc/issue
CentOS release 5.3 (Final)

This task depends upon

Closed by  Remko Bijker (Rubidium)
Wednesday, 05 August 2009, 23:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r17077
Comment by Remko Bijker (Rubidium) - Thursday, 09 July 2009, 13:36 GMT
The lines with # ought to be interpreted as comments, at least in all descriptions of the RPM specification I could find.

Especially because the gcc 4.1 spec for CentOS ( uses # for comments, so please come with a better solution than just removing all comments.