[Bug 630778] Review Request: llvm-py - Python bindings for LLVM

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 15 20:52:28 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=630778

--- Comment #3 from Michel Alexandre Salim <fedora at michelsylvain.info> 2010-09-15 16:52:27 EDT ---
Koji F-14 build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2469802

Needs fixing:
- -doc files should be in versioned directory. Instead of copying them manually
  you should probably just use relative paths when declaring them e.g.
  %doc test/*.py

- -doc files should not be executable (see full review below)

Suggestion for improvement:
- add a %check section with the following:
  cd test
  PYTHONPATH=../build/lib.linux-*/ python testall.py


* TODO Review [80%]
** DONE Names [2/2]
*** DONE Package name
*** DONE Spec name
** DONE Meets
[[http://fedoraproject.org/wiki/Packaging/Guidelines][guidelines]]
** DONE source files match upstream
   $ md5sum llvm-py-0.6.tar.bz2 ~/rpmbuild/SOURCES/llvm-py-0.6.tar.bz2 
eec62e4ce6f95f6e01edcba59747933d  llvm-py-0.6.tar.bz2
eec62e4ce6f95f6e01edcba59747933d 
/home/michel/rpmbuild/SOURCES/llvm-py-0.6.tar.bz2

** DONE License [3/3]
*** DONE License is Fedora-approved
*** DONE License field accurate
*** DONE License included iff packaged by upstream
** TODO rpmlint [1/2]
*** DONE on src.rpm
llvm-py.src: W: spelling-error %description -l en_US backend -> backed,
backbend, back end
==> ignore this

llvm-py.src: W: invalid-url Source0:
http://llvm-py.googlecode.com/files/llvm-py-0.6.tar.bz2 HTTP Error 404: Not
Found
==> ignore -- spectool works fine, not sure what's wrong with rpmlint here
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

*** FAIL on x86_64.rpm
llvm-py.x86_64: W: spelling-error %description -l en_US backend -> backed,
backbend, back end
==> ignore this
llvm-py.x86_64: W: private-shared-object-provides
/usr/lib64/python2.7/site-packages/llvm/_core.so _core.so()(64bit)
==> ignore this
llvm-py-doc.x86_64: W: spurious-executable-perm /usr/share/doc/llvm-py/uses.py
...
llvm-py-doc.x86_64: W: spurious-executable-perm
/usr/share/doc/llvm-py/operands.py
==> see below
llvm-py-doc.x86_64: W: doc-file-dependency /usr/share/doc/llvm-py/uses.py
/usr/bin/env
...
llvm-py-doc.x86_64: W: doc-file-dependency /usr/share/doc/llvm-py/operands.py
/usr/bin/env
==> can be ignored, they are example scripts after all
3 packages and 0 specfiles checked; 0 errors, 32 warnings.

** DONE Language & locale [3/3]
*** DONE Spec in US English
*** DONE Spec legible
*** N/A Use %find_lang to handle locale files
** FAIL Build [2/3]
*** DONE Koji results
    http://koji.fedoraproject.org/koji/taskinfo?taskID=2469802
*** DONE BRs complete
*** FAIL Directory ownership
    /usr/share/doc/llvm-py not owned by any package
** TODO Spec inspection [6/8]
*** FAIL ldconfig for libraries
    - State "FAIL"       from "TODO"       [2010-09-15 Wed 21:29] \\
      ldconfig is called on %post and %postun even though there are no
      libraries

*** DONE No duplicate files
*** FAIL File permissions
    - State "FAIL"       from "TODO"       [2010-09-15 Wed 22:22] \\
      -doc: files in %{_docdir} should not have executable permission
*** DONE Filenames must be UTF-8
*** DONE Has %clean section
    (except F-13+:
    https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean)

    Note: BuildRoot declaration can be removed on F-10+ and EL-6+

*** DONE %buildroot cleaned on %install
*** DONE Macro usage consistent
*** DONE Documentation [2/2]
**** DONE If large docs, separate -doc
     note: should mark this as BuildArch: noarch
**** DONE %doc files are non-essential
** N/A Desktop file validation
** DONE
[[http://fedoraproject.org/wiki/Packaging/ScriptletSnippets][Scriptlets]] [4/4]
*** N/A desktop-database (desktop entry has MimeType)
*** N/A icon cache (icons in %{_datadir}/icons/)
*** N/A info files
*** N/A mimeinfo (file in %{_datadir}/mime/packages)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list