Mailinglist Archive: opensuse-buildservice (245 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS breaks PNG files when build packages
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Wed, 20 Oct 2010 09:10:26 +0200
  • Message-id: <20101020071026.GC10312@xxxxxxx>
On Wed, Oct 20, 2010 at 10:07:08AM +0300, Алексей Харитон wrote:

Hi folks,

I have some kind of problem with PNG files in my package roundcubemail
After building package, all PNG files are 1 byte shorter than before
I found that changes PNG file headers (first 6 bytes of file), must be:


but stand:


How to fix this problem?

Well, change this piece of your roundcube.spec file I think:

# fix wrong end of line encoding
for file in $(find %buildroot/%{roundcubepath} -type f); do
sed -i 's/\x0D$//' $file

Ciao, Marcus
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >