But in my case, those files _are_ meant to be run on their own as well as being imported. This is very common in the python world. I'm not sure why %install does break this without good reason? But if I understand you correctly I should better repost that question to the packaging maillist. Am 18.06.2012 22:05, schrieb Dominique Leuenberger a.k.a DimStar:
Quoting Florian Höch
: I get the above warning for some files in the following package:
https://build.opensuse.org/package/show?package=dispcalGUI&project=home%3Afhoech%3Atesting
rpmlint log for Factory i586:
dispcalGUI.i586: W: non-executable-script /usr/lib/python2.7/site-packages/dispcalGUI/wxDisplayAdjustmentFrame.py 0644L /usr/bin/env
Very likely, the steps in %install do not add the -x flag to those files... which is not even wrong: the scripts are to be imported by other python files and are not meant to be 'ran' on their own.
As such, the shebang at the beginning of them is actually wrong (there should not be one).
Hth,
Dominique
PS: This kind of quiestion actually belongs on the -packaging mailing list, as it's in no way related to OBS/OBS Development.
-- Florian Höch -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org