[packages/rpm] - pattern_Release cannot be overriden, change it in main macro file
Jeffrey Johnson
n3npq at me.com
Sat Sep 15 05:33:16 CEST 2012
On Sep 14, 2012, at 6:55 PM, Elan Ruusamäe <glen at pld-linux.org> wrote:
> On 14/09/12 21:16, Jeffrey Johnson wrote:
>> Sh*t happens.
> yeah, rpm 4.5 (and 4.4.9 and 4.4.2) took the dump if i first 256 bytes contained 0x7f..0xff byte
>
> here's test spec for it:
> http://git.pld-linux.org/?p=packages/test.git;a=blob;f=test.spec;h=4d2bb35f8683e15bd3fc7069d5431cc649738678;hb=7451100f7d57d6866078b5a8a24962cec7e505a2
>
> don't remember went this through mailing lists earlier or not
>
The check for isprint(3) in the 1st 256b of a *.spec
is reported every couple of years, yes.
The reason for the (rather naive) check is to catch n00b package
monkey errors like
rpmbuild -ba /dev/random
so that an error msg can be displayed.
First reported by PLD (like many other bugs) years ago
with this comment (which I still carry around proudly
at build.c:73 ;-)
/*
* Kurwa, durni ameryka?ce sobe zawsze my?l?, ?e ca?y ?wiat mówi po
* angielsku...
*/
hth
73 de Jeff
More information about the pld-devel-en
mailing list