Red Hat Bugzilla – Bug 170954
Review Request: f2py: Fortran to Python interface generator
Last modified: 2007-11-30 17:11:15 EST
Spec Name or Url: http://fedora.ivazquez.net/files/extras/f2py.spec
SRPM Name or Url: http://fedora.ivazquez.net/files/extras/f2py-2.45.241_1926-1.src.rpm
Description: The purpose of the F2PY --Fortran to Python interface generator-- project is to provide connection between Python and Fortran languages. F2PY is a Python extension tool for creating Python C/API modules from (handwritten or F2PY generated) signature files (or directly from Fortran sources).
Hi Ignacio, the above SRPM builds on FC4 but rpmlint throws up a dozen errors
of the form:
E: f2py non-executable-script \
If those files really should be executable (and I think they should be,
right?) then could you please post an updated SRPM?
Strictly speaking files under /usr/lib/pythonX.Y/site-packages aren't required
to be executable. rpmlint is just keying on the shebang line and figuring
something is wrong from that. The 2 "devel-file-in-non-devel-package" messages
may also be red herrings but I need to look deeper into it.
Hi Ignacio, thanks for explaining why rpmlint is wrong. So
with that out of the way, the package looks good except for the two
"devel-file-in-non-devel-package" warnings are you mentioned:
+ spec looks good
+ code not content
+ source matches upstream
+ license is OK (and not included since it does not appear in
the upstream tarball -- good)
+ builds in mock on FC4 and appears to work correctly on FC4
I think its OK ship the package as-is. And if you or someone else
can point out a better location for the two fortranobject.[ch] files,
then thats something that can be changed once its in CVS.
Built for FC4 and devel.