Package Review ============== Key: [x] = Pass [!] = Fail [-] = Not applicable [?] = Not evaluated [ ] = Manual review needed Issues: ======= - Old add_to_maven_depmap macro is not being used See: https://fedoraproject.org/wiki/Packaging:Java#add_maven_depmap_macro - Pom files have correct add_maven_depmap call Note: No add_maven_depmap calls found but pom files present See: https://fedoraproject.org/wiki/Packaging:Java#add_maven_depmap_macro - Sources used to build the package match the upstream source, as provided in the spec URL. Note: Upstream MD5sum check error, diff is in /data/temp/rhel- reviews/itext-2.1.7-15.fc19/itext/diff.txt See: http://fedoraproject.org/wiki/Packaging/SourceURL - update-desktop-database is invoked when required Note: desktop file(s) in itext-rups, itext-toolbox See: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache - Fully versioned dependency in subpackages, if present. Note: Missing: Requires: %{name} = %{version}-%{release} in itext-core, itext-rtf, itext-rups, itext-toolbox See: http://fedoraproject.org/wiki/Packaging/Guidelines#RequiringBasePackage - Packages have proper BuildRequires/Requires on jpackage-utils See: https://fedoraproject.org/wiki/Packaging:Java ===== MUST items ===== C/C++: [ ]: Development (unversioned) .so files in -devel subpackage, if present. Note: Unversioned so-files in private %_libdir subdirectory (see attachment). Verify they are not in ld path. Generic: [ ]: %build honors applicable compiler flags or justifies otherwise. [ ]: Package contains no bundled libraries without FPC exception. [ ]: Changelog in prescribed format. [ ]: Sources contain only permissible code or content. [ ]: Development files must be in a -devel package [ ]: Package requires other packages for directories it uses. [ ]: Package uses nothing in %doc for runtime. [ ]: Package is not known to require ExcludeArch. [ ]: Package does not contain duplicates in %files. [ ]: Fully versioned dependency in subpackages, if present. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in itext-core , itext-rtf , itext-rups , itext-toolbox , itext-javadoc [ ]: Package complies to the Packaging Guidelines [ ]: License file installed when any subpackage combination is installed. [ ]: Package consistently uses macro is (instead of hard-coded directory names). [ ]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [ ]: Package is named according to the Package Naming Guidelines. [ ]: Package does not generate any conflict. [ ]: Package obeys FHS, except libexecdir and /usr/target. [ ]: If the package is a rename of another package, proper Obsoletes and Provides are present. [ ]: Package must own all directories that it creates. [ ]: Package does not own files or directories owned by other packages. [ ]: Requires correct, justified where necessary. [ ]: Spec file is legible and written in American English. [ ]: Package contains systemd file(s) if in need. [ ]: gtk-update-icon-cache is invoked when required Note: icons in itext-rups, itext-toolbox [ ]: Useful -debuginfo package or justification otherwise. [ ]: Large documentation must go in a -doc subpackage. Note: Documentation size is 102400 bytes in 6 files. [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Each %files section contains %defattr if rpm < 4.4 [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Package contains desktop file if it is a GUI application. [x]: Package installs a %{name}.desktop using desktop-file-install if there is such a file. [x]: Permissions on files are set properly. [x]: Spec file lacks Packager, Vendor, PreReq tags. [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %doc. [x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package is not relocatable. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). Java: [ ]: Bundled jar/class files should be removed before build Note: Test run failed [x]: Javadoc documentation files are generated and included in -javadoc subpackage [x]: Javadoc subpackages have Requires: jpackage-utils [x]: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink) Maven: [ ]: If package contains pom.xml files install it (including depmaps) even when building with ant [x]: Packages DOES NOT have Requires(post) and Requires(postun) on jpackage- utils for %update_maven_depmap macro [x]: Package DOES NOT use %update_maven_depmap in %post/%postun [x]: Packages use %{_mavenpomdir} instead of %{_datadir}/maven2/poms ===== SHOULD items ===== Generic: [!]: Reviewer should test that the package builds in mock. [ ]: Final provides and requires are sane (see attachments). [ ]: Package functions as described. [ ]: Latest version is packaged. [ ]: Patches link to upstream bugs/comments/lists or are otherwise justified. [ ]: Scriptlets must be sane, if used. [ ]: SourceX tarball generation or download is documented. Note: Package contains tarball without URL, check comments [ ]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [ ]: Package should compile and build into binary rpms on all supported architectures. [ ]: %check is present and all tests pass. [ ]: Packages should try to preserve timestamps of original installed files. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: Dist tag is present. [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: SourceX is a working URL. [x]: Spec use %global instead of %define. Java: [ ]: Package has BuildArch: noarch (if possible) [ ]: Package uses upstream build method (ant/maven/etc.) ===== EXTRA items ===== Generic: [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. Rpmlint ------- Checking: itext-2.1.7-15.fc19.x86_64.rpm itext-core-2.1.7-15.fc19.noarch.rpm itext-rtf-2.1.7-15.fc19.noarch.rpm itext-rups-2.1.7-15.fc19.noarch.rpm itext-toolbox-2.1.7-15.fc19.noarch.rpm itext-javadoc-2.1.7-15.fc19.noarch.rpm itext.x86_64: W: spelling-error %description -l en_US servlet's -> settler's itext.x86_64: W: invalid-license APAFML itext.x86_64: W: no-documentation itext-core.noarch: W: invalid-license APAFML itext-core.noarch: W: obsolete-not-provided itext itext-core.noarch: E: incorrect-fsf-address /usr/share/doc/itext-core-2.1.7/lgpl.txt itext-rtf.noarch: W: no-documentation itext-rups.noarch: W: no-manual-page-for-binary itext-rups itext-rups.noarch: W: class-path-in-manifest /usr/share/java/itext-rups-2.1.7.jar itext-toolbox.noarch: W: no-manual-page-for-binary itext-toolbox itext-toolbox.noarch: W: class-path-in-manifest /usr/share/java/itext-toolbox-2.1.7.jar itext-javadoc.noarch: W: invalid-license APAFML 6 packages and 0 specfiles checked; 1 errors, 11 warnings. Requires -------- itext-core (rpmlib, GLIBC filtered): /bin/sh bouncycastle-tsp java jpackage-utils itext-javadoc (rpmlib, GLIBC filtered): itext-core jpackage-utils itext-rtf (rpmlib, GLIBC filtered): itext-core itext-rups (rpmlib, GLIBC filtered): /bin/sh dom4j itext-core pdf-renderer itext (rpmlib, GLIBC filtered): /bin/sh itext-core java-1.5.0-gcj java-gcj-compat libc.so.6()(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcj_bc.so.1()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) librt.so.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) itext-toolbox (rpmlib, GLIBC filtered): /bin/sh itext-core java Provides -------- itext-core: itext-core mvn(com.lowagie:itext) mvn(itext:itext) osgi(com.lowagie.text) itext-javadoc: itext-javadoc itext-rtf: itext-rtf itext-rups: itext-rups itext: iText itext itext(x86-64) itext-2.1.7.jar.so()(64bit) itext-toolbox: itext-toolbox Unversioned so-files -------------------- itext: /usr/lib64/gcj/itext/itext-2.1.7.jar.so MD5-sum check ------------- http://repo2.maven.org/maven2/com/lowagie/itext/2.1.7/itext-2.1.7.pom : CHECKSUM(SHA256) this package : 882c09cde4ef6e3b7851c288bd39d8caaa165f2b362ee39022797b443ea0bf9a CHECKSUM(SHA256) upstream package : 893f9c500c62c4fb4050a196ecece356fe4b4e615f2dee9dfeadd88f4c8378cd diff -r also reports differences Generated by fedora-review 0.3.1 (903b443) last change: 2012-12-20 Buildroot used: fedora-raw-x86_64 Command line :/home/w0rm/work/projects/fedora-review/try-fedora-review -rpn itext -m fedora-rawhide-x86_64 -v -x CheckRpmlintInstalled,CheckApprovedLicense,CheckContainsLicenseText,CheckLicenseField,CheckLicenseUpstream,CheckReqPkgConfig,CheckBuildCompleted,CheckPackageInstalls,CheckNoNameConflict,CheckBuild,CheckBuildRequires