ALT Linux Bugzilla – #3013
discards a normal .spec-file with text in CP1215
Last modified: 2006-01-10 02:43:43
You need to
before you can comment on or make changes to this bug.
The difference between the 2 files is the Rusian translation. Here is the effect:
[imz@altair imz]$ rpm -bE urlview.spec | head
ошибка: Файл /user/imz/urlview.spec не похож на файл спецификации.
[imz@altair imz]$ rpm -bE urlview-test.spec | head
Created an attachment (id=276) [details]
spec-file with CP1251 -- rpmbuild discards it
Created an attachment (id=277) [details]
rpmbuild accepts it
I wish the error msg from rpmbuild would give more info: why the file is bad.
256 leading characters of specfile should be ASCII characters. Otherwise, rpm
behaviour may vary depending on locale settings.
I think, rpm should report an explanation, perhaps the one you gave.
Comment from at@ is quite correct, see rpm-4_0/build.c:isSpecFile() for
Could you suggest exact message from rpmbuild instead of current
"File %s does not appear to be a specfile.", please?
I see no problem here.