https://bugzilla.novell.com/show_bug.cgi?id=768247 https://bugzilla.novell.com/show_bug.cgi?id=768247#c0 Summary: Get rid of bogus warning "W: python-naming-policy-not-applied /usr/lib/pythonX.X/site-packages/X/lib/Y.py" Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: General AssignedTo: adrian@suse.com ReportedBy: accounts+opensusebuildservice@hoech.net QAContact: adrian@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1 If you have a python package named X, which happens to contain a subpackage lib/Y, OBS complains that "This package doesn't respect the naming policy for python packages. Its name should match the regular expression ^python(-|$).", which is nonsensical because you can't import from a package "python-Y" as hyphens are not possible in package names, and a subpackage just named "python" doesn't make sense either. The warning in the subject should thus be removed. Reproducible: Always Steps to Reproduce: 1. Build a python package "X" that has a sub-folder "lib/Y" Actual Results: Rpmlint warns "W: python-naming-policy-not-applied /usr/lib/pythonX.X/site-packages/X/lib/Y.py" Expected Results: Rpmlint should not warn. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.