Fedora Merge Review: poppler http://cvs.fedora.redhat.com/viewcvs/devel/poppler/ Initial Owner: krh
There are a number of outstanding bugs against the poppler package which block this review.
Package Change Request ====================== Package Name: New Branches: OLPC-2 The branch owner should be mpg
cvs done.
(In reply to comment #1) > There are a number of outstanding bugs against the poppler package which block > this review. I see one blocker, and it's closed. Clear to review?
Bug 275541 and Bug 437247 are, in my opinion, relevant for the review.
Agreed, added as blockers.
I'm on as comaintainer here, and would be happy to work with a reviewer to complete this merge.
Ok, on full review: rpmlint: [limb@fawkes SPECS]$ rpmlint -i ../SRPMS/poppler-0.12.1-3.fc11.src.rpm poppler.src:105: W: unversioned-explicit-provides pdftohtml The specfile contains an unversioned Provides: token, which will match all older, equal, and newer versions of the provided thing. This may cause update problems and will make versioned dependencies, obsoletions and conflicts on the provided thing useless -- make the Provides versioned if possible. poppler.src:106: W: unversioned-explicit-obsoletes pdftohtml The specfile contains an unversioned Obsoletes: token, which will match all older, equal and newer versions of the obsoleted thing. This may cause update problems, restrict future package/provides naming, and may match something it was originally not inteded to match -- make the Obsoletes versioned if possible. 1 packages and 0 specfiles checked; 0 errors, 2 warnings. Since I'm under the impression pdf2html is long gone, couldn't his be removed? [limb@fawkes SPECS]$ rpmlint -i ../RPMS/i586/poppler-* poppler.i586: W: shared-lib-calls-exit /usr/lib/libpoppler.so.5.0.0 exit This library package calls exit() or _exit(), probably in a non-fork() context. Doing so from a library is strongly discouraged - when a library function calls exit(), it prevents the calling program from handling the error, reporting it to the user, closing files properly, and cleaning up any state that the program has. It is preferred for the library to return an actual error code and let the calling program decide how to handle the situation. Eeeew. Is there a good reason upstream does this? poppler-debuginfo.i586: W: spurious-executable-perm /usr/src/debug/poppler-0.12.1/goo/GooTimer.h The file is installed with executable permissions, but was identified as one that probably should not be executable. Verify if the executable bits are desired, and remove if not. Fix. poppler-glib.i586: W: no-documentation The package contains no documentation (README, doc, etc). You have to include documentation files. poppler-glib-devel.i586: W: no-documentation The package contains no documentation (README, doc, etc). You have to include documentation files. poppler-qt.i586: W: no-documentation The package contains no documentation (README, doc, etc). You have to include documentation files. poppler-qt4.i586: W: no-documentation The package contains no documentation (README, doc, etc). You have to include documentation files. poppler-qt4-devel.i586: W: no-documentation The package contains no documentation (README, doc, etc). You have to include documentation files. poppler-qt-devel.i586: W: no-documentation The package contains no documentation (README, doc, etc). You have to include documentation files. Not sure if this is fixable, both doc files are tiny. poppler-utils.i586: W: file-not-utf8 /usr/share/man/man1/pdftohtml.1.gz The character encoding of this file is not UTF-8. Consider converting it in the specfile's %prep section for example using iconv(1). Fix. 10 packages and 0 specfiles checked; 0 errors, 9 warnings. Name is good, looks like it's in adherence to the guidlines. License raises an eyebrow. Tag is GPLv2, but lots of files have "or later". English, legible, etc. Source URL and md5 are good. Builds on i586. Mock build in process, to check BRs, but since it's the SRPM from koji, I suspect it's fine. I'll post the result. Locales an ldconfig are good. No bundled libs. Not relocatable. No obvious unowned dirs, perms ok. Install and clean are good. Macros are reasonable. Code is permissible. Docs are tiny. There are devel packages, no static libs. Pkgconfig files are OK, and pkgconfig is Required. .so/.so.* setup is correct. -devel package requires look good. No libool archives. Not a GUI app. No conflicts I'm aware of. All UTF-8, except for the above. So, in summary: pdf2html, exit(), spurious-executable term, license tag, non-UTF-8 file.
Mock was OK, so BRs are good.
Hi, I fixed the spurious-executable permission, the non-UTF-8 file and added versions t pdftohtml's Provides/Obsoletes (I left it there, so we can track it to the past). Those exits are in memory allocation functions which have also versions which don't call exit. These are used if needed. The license tag corresponds to COPYING file. Regards Marek
Ok. Thanks guys! APPROVED.