Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] "W: non-executable-script" for files which are executable in the sources
On Mon, Jun 18, 2012 at 9:58 PM, Florian Höch
<lists+opensusebuildservice@xxxxxxxxx> wrote:

When I look into the source archive, the respective files have the
executable bit set, so I'm not really understanding where the warning
comes from. I've even hacked the spec file to make sure the files have
the executable bit set (ie. I call chmod +x on the files in %prep), but
it seems almost as if something removes it later?

AFAIK, the correct and "clean" way to set permissions of the files in
an RPM package is to use %attr inside %files:
I don't know if the last paragraph (norootforbuild) applies to the OBS, though.

Kind regards
686f6c6d / Christopher 'm4z' Holm
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups