Mailinglist Archive: opensuse-packaging (156 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Need help with rpmlint warnings.
- From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
- Date: Wed, 16 Jun 2010 12:36:49 +0200
- Message-id: <4C18C561020000290009889C@xxxxxxxxxxxxxxxxxxx>
On 06/16/2010 11:35 AM, Dominique Leuenberger wrote:On 6/16/2010 at 12:29, Dave Plater <davejplater@xxxxxxxxx> wrote:
exist anyway :)/libexec ? Probably the lint just misses detection of stuff that should notOn 06/16/2010 10:09 AM, Dominique Leuenberger wrote:On 6/16/2010 at 11:31, Dave Plater <davejplater@xxxxxxxxx> wrote:
might lack at some cases... just because an app is written in py, should notPolicy-wise this package should be calledOn 6/16/2010 at 9:59, Dave Plater <davejplater@xxxxxxxxx> wrote:Hi, in home:plater ffado (on it's way to mmlibs ffado) I've a couple of
python rpmlint errors that I don't quite understand, the first looks
like an upstream bug :-
ffado.x86_64:W:python-naming-policy-not-applied
/usr/lib/python2.6/site-packages/ffado/mixer/globalmixer.py
Thispackagedoesn'trespectthenamingpolicyforpythonpackages.Its
name
shouldmatchtheregularexpression^python(-|$).
python-ffado
(not sure if it makes sense: this policy is not enforced everywhere and
make it's name python- IMHO.not when the package itself is an app).
python-* is useful for package that are used as dependencies in others,
but
The weird thing is, there are a number of python files under
libexec/python2.6/site-packages/ffado/ and rpmlint only picks on the one.
That sounds like the path settings are not properly handled anyway.... onopenSUSE, %_libexec is defined as /usr/lib (on recent releases)
Sorry, I meant %_libexec, upstream have only started using /usr/lib for
Dominique
these packages, they used to be under /usr/share/libffado/python and
some are still there. These files are needed for a mixer/configuration
gui. I need to report a shared-lib-calls-exit and I want to be clear
about the above warning when I report it. The devs have been very
helpful about passing %optflags to scons and I'd like to keep a good
relationship.
The lib provides musical instrument firewire support to jack and I plan
to push it into factory after 11.3 release.
for python you should probably not use %{_libdir} and %{_libexecdir} but use
the (more verbose and obvious) macros:
%python_sitearch: /usr/lib64/python2.6/site-packages
%python_sitelib: /usr/lib/python2.6/site-packages
Helps you also in case we get a new python version for not having to update all
the specs.
As for the weirdness in reporting: I'm not entirely sure that lint would report
all the files it finds: the scheme would remain the same: according
to the policy, the package name should by python-ffado.
Somebody like darix might shed more light when and how this is useful (in case
of applications, not of "libraries")
Dominique
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |