[Rpm-maint] restricting content in spec files/pkgs to unicode only

Panu Matilainen pmatilai at laiskiainen.org
Thu Aug 13 07:52:57 UTC 2009


On Fri, 7 Aug 2009, Seth Vidal wrote:

>
>
> On Fri, 7 Aug 2009, Florian Festi wrote:
>
>> On 07/23/2009 10:35 PM, Seth Vidal wrote:
>>> Hi,
>>>  Looking at this bug:
>>>  https://bugzilla.redhat.com/show_bug.cgi?id=513459
>>> 
>>> got me thinking - would it be possible to have rpmbuild check all the 
>>> content it is going to put into the rpm header to see if it is unicode 
>>> decodable and abort if it is not?
>>> 
>>> It would save anyone handling it from w/i python  a lot of pain and 
>>> suffering, I think.
>>> 
>>> Would it be possible?
>> 
>> No, files can have any 8 bit name. They should be utf-8 but this is not 
>> guaranteed.
>> 
>> Sorry...
>
> I know you hate to see something like this but:
>
> Could you make it an option? We could enforce it in fedora and other distros 
> can do whatever the hell they want.

See http://rpm.org/ticket/30 (nothing done about it so far however)

 	- Panu -


More information about the Rpm-maint mailing list