Summary: | discards a normal .spec-file with text in CP1215 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> | ||||||
Component: | rpm-build | Assignee: | placeholder <placeholder> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus | ||||||
Severity: | enhancement | ||||||||
Priority: | P2 | CC: | arseny, glebfm, imz, ldv, placeholder, vt | ||||||
Version: | unstable | ||||||||
Hardware: | all | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
Ivan Zakharyaschev
2003-09-19 00:55:23 MSD
Created attachment 276 [details]
spec-file with CP1251 -- rpmbuild discards it
Created attachment 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 details. 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. |